class AutomationObject::BluePrint::HashAdapter::Hook

Hook composite

Public Instance Methods

live?() click to toggle source

@return [Array<HookElementRequirements>] array of element requirements

# 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