[MacRuby-devel] strings to yaml
johnmacshea at gmail.com
Fri Apr 17 06:05:41 PDT 2009
I notice that NSMutableString nicely turns into a plain string when
you #to_yaml it.
Thats great since plays nicely with other ruby code.
NSString however becomes "!str:NSString" - is that by
It would not matter to me except that #stringValue from NSTextFields
returns NSString - which i must first copy to a NSMutableString before
I #to_yaml it.
Just wondering if there is a more elegant way.
More information about the MacRuby-devel