Class: AutomationObject::BluePrint::HashAdapter::ElementHash

Inherits:
Composite show all
Includes:
ElementHelper, MultipleElementsHelper
Defined in:
lib/automation_object/blue_print/hash_adapter/element_hash.rb

Overview

Element hash composite

Instance Attribute Summary

Attributes inherited from Composite

#hash

Attributes included from ValidationHelper

#errors

Attributes inherited from Composite

#children, #location, #name, #parent

Instance Method Summary collapse

Methods included from MultipleElementsHelper

#custom_range, #remove_duplicates

Methods included from ElementHelper

#default_input, #in_iframe, #in_iframe?, #method_hook?, #method_hooks, #selector_params

Methods inherited from Composite

#create_array_children, #create_composite, #create_hash_children, #get_child, #get_children, #initialize

Methods included from ValidationHelper

#add_errors, included, #valid?

Methods inherited from Composite

#add_has_many_relationships, #add_has_one_relationships, #get_child, #get_children, has_many, has_many_relationships, has_one, has_one_relationships, #initialize, #top

Methods included from Reflection

#add_alias, #add_attribute

Methods included from CompositeHook

#after_create_run, #before_create_run, included

Constructor Details

This class inherits a constructor from AutomationObject::BluePrint::HashAdapter::Composite

Instance Method Details

#define_elements_bySymbol

Returns element method to define element keys by

Returns:

  • (Symbol)

    element method to define element keys by



39
40
41
# File 'lib/automation_object/blue_print/hash_adapter/element_hash.rb', line 39

def define_elements_by
  hash[:define_elements_by].to_sym
end