Philip Hallstrom wrote: >> Right now I am just creating a pipe-delimited string of the object >> attributes. Then the other server takes that string, splits it on | >> and >> populates a new object. Really I am just wondering if there is a one >> liner from a library where I can do this. JSON, etc.. would be >> overkill, since I can easily do it with a pipe-delimited string. I >> might just code a utility to do this with the pp string unless someone >> has some code that already does this. let me know.. thank > > http://www.ruby-doc.org/stdlib/libdoc/yaml/rdoc/classes/YAML.html#M010508 > http://www.ruby-doc.org/stdlib/libdoc/yaml/rdoc/classes/YAML.html#M010509
Ah.. you da man. Thanks, I guess I overlooked that ;-) That does exactly what I need it to. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

