[MacRuby] #1258: The URI method does not add a URI method to Object instances.

MacRuby ruby-noreply at macosforge.org
Tue May 3 17:02:40 PDT 2011


#1258: The URI method does not add a URI method to Object instances.
------------------------------+---------------------------------------------
 Reporter:  kouji@…           |       Owner:  lsansonetti@…        
     Type:  defect            |      Status:  new                  
 Priority:  minor             |   Milestone:  MacRuby Later        
Component:  MacRuby           |    Keywords:                       
------------------------------+---------------------------------------------
 Reduction: (included spec/frozen/library/uri/uri_spec.rb)
 {{{
 require 'uri'
 Object.new.URI("http://ruby-lang.org/")
 }}}

 Expected: raise NoMethodError

 This was included in bfcea02f4036e5fb7c7f674564c9f8cf6e68beb3
 (https://github.com/MacRuby/MacRuby/commit/bfcea02f4036e5fb7c7f674564c9f8cf6e68beb3).

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1258>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list