This post originated from an RSS feed registered with Ruby Buzz
by Red Handed.
Original Post: Serializing To Ruby Code
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Amid a discussion on the list about XML v. YAML (hope they declare a winner!), I noticed a message by Dick Davies about keeping his data in Ruby code rather than any other data formats. And then I remembered AMarshal. And then I remembered that it’s not in the Ruby stdlib.
AMarshal is a solid extension for saving your objects as straight Ruby. Readable, fast and stable. NaHi’s tested the slime outta this extension. And, well, knowing Tanaka Akira’s consummate debugging… I don’t want to bloat the Ruby dist too much more, but this is a great extension.