Class: ActionState
Instance Attribute Summary collapse
-
#deferrable_event ⇒ Object
readonly
Returns the value of attribute deferrable_event.
Attributes inherited from State
#activity_graph, #name, #stereotypes, #tagged_values
Attributes inherited from Tag
Instance Method Summary collapse
-
#initialize(xml, activity_graph) ⇒ ActionState
constructor
A new instance of ActionState.
- #to_s ⇒ Object
Methods inherited from State
#full_name, #stereotype_by_name, #tagged_value_by_name
Methods inherited from Tag
Constructor Details
#initialize(xml, activity_graph) ⇒ ActionState
Returns a new instance of ActionState.
10 11 12 13 14 |
# File 'lib/xmimodel/action_state.rb', line 10 def initialize(xml, activity_graph) super(xml, activity_graph) @deferrable_event = xml.attribute("deferrableEvent").to_s true end |
Instance Attribute Details
#deferrable_event ⇒ Object (readonly)
Returns the value of attribute deferrable_event.
8 9 10 |
# File 'lib/xmimodel/action_state.rb', line 8 def deferrable_event @deferrable_event end |
Instance Method Details
#to_s ⇒ Object
16 17 18 |
# File 'lib/xmimodel/action_state.rb', line 16 def to_s "ActionState" end |