17 Apr
2009
17 Apr
'09
1:05 p.m.
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