class AutomationObject::Dsl::ElementArrayProxy

Proxy for ElementArray

Public Class Methods

new(blue_prints, state, name) click to toggle source

@param [AutomationObject::BluePrint::Composite::ElementArray] blue_prints @param [AutomationObject::State::Modal, AutomationObject::State::Screen] state @param [Symbol] name

Calls superclass method AutomationObject::Dsl::Proxy::new
# File lib/automation_object/dsl/element_array.rb, line 16
def initialize(blue_prints, state, name)
  super ElementArray, blue_prints, state, name
end

Public Instance Methods

active?() click to toggle source

@return [Boolean]

# File lib/automation_object/dsl/element_array.rb, line 32
def active?
  @state.active?
end
method_missing(method, *args, &block) click to toggle source

@param [Symbol] method @param [Array, nil] args @param [Proc] block

# File lib/automation_object/dsl/element_array.rb, line 23
def method_missing(method, *args, &block)
  return super if ElementArray.methods.include?(method)

  @subject = @state.utilize

  super
end