Class: PseudoState
Instance Attribute Summary collapse
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
Attributes inherited from State
#activity_graph, #id, #name, #stereotypes, #tagged_values, #xml
Instance Method Summary collapse
-
#initialize(xml, activity_graph) ⇒ PseudoState
constructor
A new instance of PseudoState.
- #to_s ⇒ Object
Methods inherited from State
#full_name, #stereotype_by_name, #tagged_value_by_name
Constructor Details
#initialize(xml, activity_graph) ⇒ PseudoState
Returns a new instance of PseudoState.
7 8 9 10 11 |
# File 'lib/xmimodel/pseudo_state.rb', line 7 def initialize(xml, activity_graph) super(xml, activity_graph) @kind = xml.attribute("kind").to_s end |
Instance Attribute Details
#kind ⇒ Object (readonly)
Returns the value of attribute kind.
5 6 7 |
# File 'lib/xmimodel/pseudo_state.rb', line 5 def kind @kind end |
Instance Method Details
#to_s ⇒ Object
13 14 15 |
# File 'lib/xmimodel/pseudo_state.rb', line 13 def to_s "PseudoState" end |