#1190: macirb try to do something to strings it tries to print using #to_s ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- During a macirb session: ± irb irb(main):001:0> class NSURL irb(main):002:1> alias_method :to_s, :absoluteString irb(main):003:0> end => NSURL irb(main):004:0> NSURL.URLWithString( 'macruby.org' ) RuntimeError: can't modify frozen/immutable string irb(main):005:0> test = NSURL.URLWithString( 'macruby.org' ) RuntimeError: can't modify frozen/immutable string irb(main):006:0> test.to_s => "macruby.org" irb(main):007:0> macirb seems to be trying to do something to strings it get's from calling #to_s -- Ticket URL: <http://www.macruby.org/trac/ticket/1190> MacRuby <http://macruby.org/>