brighterplanet/charisma — pull request #6 by seamusabshere (2012-02-24 00:17:02+00:00)
Title: make Curation#to_hash more useful

Curation#to_hash now returns plain values, without the display stuff (Curation wrapper).

Lets you easily convert a Curation to a Hash before passing it to a method, as long as that method
1. doesn't need to directly modify the input
2. doesn't care about displaying it
which may gain you some predictability and efficiency.

Also it's less surprising... most of the time when an object offers #to_hash, you use the output for serialization or something.