[MacRuby-devel] strings to yaml
John Shea
johnmacshea at gmail.com
Fri Apr 17 06:05:41 PDT 2009
Hello everyone,
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
design?
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.
Cheers,
John
More information about the MacRuby-devel
mailing list