mustmodify / valuable

quick ruby modeling -- basically attr_accessor with default values, light-weight casting, and a constructor
http://valuable.mustmodify.com/
MIT License
72 stars 3 forks source link

Raise an error other than "no method each on x" when I am stupid #10

Open mustmodify opened 9 years ago

mustmodify commented 9 years ago

g = Giraffe.new class Animal < Valuable; end; x = Animal.new(g)

should say something like "That's a giraffe, I need a hash."