#732: Ruby strings should have a to_data method
-------------------------------+--------------------------------------------
Reporter: m...@… | Owner: lsansone...@…
Type: enhancement | Status: closed
Priority: minor | Milestone: MacRuby 0.7
Component: MacRuby | Resolution: fixed
Keywords: string encoding |
-------------------------------+--------------------------------------------
Changes (by lsansone...@…):
* 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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel