What?
A gem that gives you the Mash object which mimics the javascript object notation (with some powerful additions).
Why?
It's a really easy and quick way to build and access deeply nested structured, e.g.
mash = Mash.new
mash.author!.name = "Michael Bleigh"
mash.author.info!.url = "http://www.mbleigh.com/"
How?
Check out the blogpost at intridea, alternatively go straight to the gem
sudo gem install mash
or straight to the source
git clone git://github.com/mbleigh/mash.git
1 comment:
Post a Comment