Class: AutomationObject::BluePrint::HashAdapter::Hook
- Defined in:
- lib/automation_object/blue_print/hash_adapter/hook.rb
Overview
Hook composite
Instance Method Summary collapse
-
#live? ⇒ Array<HookElementRequirements>
Array of element requirements.
Instance Method Details
#live? ⇒ Array<HookElementRequirements>
Returns array of element requirements
25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/automation_object/blue_print/hash_adapter/hook.rb', line 25 def live? return @live if defined? @live children = hash[:live?] children = children.is_a?(Array) ? children : [] @live = create_array_children(:live, children, interface: HookElementRequirements, location: location + '[live?]') @live end |