Hi Eloy,
I was doing:
"#{field.stringValue}".to_yaml
which in 6 months time i will be scratching my head wondering why - so
your suggestions are very helpful - thanks!
Cheers,
J
On Apr 17, 2009, at 15:31 , Eloy Duran wrote:
Hey John,
I think we'll need to move the to_yaml definition for
Hey John,
I think we'll need to move the to_yaml definition for String into
NSString in the MacRuby case.
I tried to do that as an example [1], but it seems that NSString
completely breaks after opening the class, but this is probably just a
bug in 0.4:
"--- foo\n"
"--- !str:NSString foo\
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 NSTe