module AutomationObject::BluePrint::HashAdapter

BluePrint Hash Adapter

Public Instance Methods

build(hash = {}) click to toggle source

@param [Hash] hash that includes all the information needed to create a BluePrint @return [AutomationObject::BluePrint::Composite::Top] Composite BluePrint Object

# File lib/automation_object/blue_print/hash_adapter.rb, line 14
def build(hash = {})
  hash.symbolize_keys_deep!

  top_hash = self::Top.new(hash)
  AutomationObject::BluePrint::Composite::Top.new(top_hash)
end