Class HashBuilder
In: lib/standard/facets/hash_builder.rb
Parent: BasicObject

HashBuilder takes a procedure and builds a Hash out of it.

The procedure must conform to a set of rules to be useful in this respect. They must either take an argument and use that argument to set values, or if no argument is taken then `instance_eval` is used to evaluate the procedure such that each method represents a key.

Methods

method_missing   new   to_h  

Public Class methods

Public Instance methods

[Validate]