Path: | lib/hashery/openhash.rb |
Last Update: | Tue Apr 05 12:31:31 -0400 2011 |
OpenHash is very similar to Ruby‘s own OpenStruct, but it offers some useful advantages in that it is a true Hash object.
Because OpenHash is a subclass of Hash, it can do everything a Hash can unless a Hash method has been explicity exempted for use as an open read/writer via the omit! method.