Class HashBuilder
In: lib/more/facets/hashbuilder.rb
Parent: Object

HashBuilder

Build a hash programmatically via a fluent DSL-like syntax. In other words, this uses method_missing to buld the hash.

Methods

build!   load   method_missing   new   to_h  

External Aliases

class -> __class__
  Privatize a few Kernel methods that are most likely to clash, but arn‘t essential here. TODO Maybe more in this context?

Public Class methods

def self.build( blockstr=nil, &block )

  self.new.build( blockstr, &block ).to_h

end

Public Instance methods

[Validate]