Class: ComponentHost::Controls::ComponentInitiator::Example

Inherits:
Object
  • Object
show all
Defined in:
lib/component_host/controls/component_initiator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#executedObject

Returns the value of attribute executed.



9
10
11
# File 'lib/component_host/controls/component_initiator.rb', line 9

def executed
  @executed
end

Instance Method Details

#callObject



11
12
13
# File 'lib/component_host/controls/component_initiator.rb', line 11

def call
  self.executed = true
end

#executed?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/component_host/controls/component_initiator.rb', line 15

def executed?
  executed ? true : false
end