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