Path: | lib/hashery/openhash.rb |
Last Update: | Thu Jan 20 11:24:17 +0000 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.