Class: PseudoState

Inherits:
State show all
Defined in:
lib/xmimodel/pseudo_state.rb

Instance Attribute Summary collapse

Attributes inherited from State

#activity_graph, #name, #stereotypes, #tagged_values

Attributes inherited from Tag

#id, #parent_tag, #xml

Instance Method Summary collapse

Methods inherited from State

#full_name, #stereotype_by_name, #tagged_value_by_name

Methods inherited from Tag

#xml_root

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

#kindObject (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_sObject



16
17
18
# File 'lib/xmimodel/pseudo_state.rb', line 16

def to_s
	"PseudoState"
end