Class OpenHash
In: lib/hashery/openhash.rb
Parent: Hash

OpenHash

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.

Methods

<<   inspect   method_missing   new   omit!   respond_to?   to_h   to_hash  

Public Class methods

Public Instance methods

Route get and set calls.

Omit specific Hash methods from slot protection.

[Validate]