#732: Ruby strings should have a to_data method -------------------------------+-------------------------------------------- Reporter: me@… | Owner: lsansonetti@… Type: enhancement | Status: closed Priority: minor | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: string encoding | -------------------------------+-------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 Comment: Should be fixed in r4189. All strings now respond to #to_data which returns an NSData wrapping the internal bytes storage (according to the current encoding). The method will raise an exception in case the receiver is a pure NSString. -- Ticket URL: <http://www.macruby.org/trac/ticket/732#comment:1> MacRuby <http://macruby.org/>