class AutomationObject::Dsl::ElementHashProxy
Proxy
for ElementHash
Public Class Methods
new(blue_prints, state, name)
click to toggle source
@param [AutomationObject::BluePrint::Composite::ElementHash] 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_hash.rb, line 16 def initialize(blue_prints, state, name) super ElementHash, blue_prints, state, name end
Public Instance Methods
active?()
click to toggle source
@return [Boolean]
# File lib/automation_object/dsl/element_hash.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
Calls superclass method
AutomationObject::Proxy::Proxy#method_missing
# File lib/automation_object/dsl/element_hash.rb, line 23 def method_missing(method, *args, &block) return super if ElementHash.methods.include?(method) @subject = @state.utilize super end