Class: Opener::Kaf::Visualizer::Entity
- Defined in:
- lib/opener/outlet/visualizer.rb
Instance Attribute Summary collapse
-
#eid ⇒ Object
readonly
Returns the value of attribute eid.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from KAFNode
#content, #references, #tag, #targets
Instance Method Summary collapse
Methods inherited from KAFNode
#has_target?, #initialize, #process_subnodes, #set_content, #set_instance_variables, #set_targets, #target_ids
Constructor Details
This class inherits a constructor from Opener::Kaf::Visualizer::KAFNode
Instance Attribute Details
#eid ⇒ Object (readonly)
Returns the value of attribute eid.
151 152 153 |
# File 'lib/opener/outlet/visualizer.rb', line 151 def eid @eid end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
151 152 153 |
# File 'lib/opener/outlet/visualizer.rb', line 151 def type @type end |
Instance Method Details
#id ⇒ Object
153 154 155 |
# File 'lib/opener/outlet/visualizer.rb', line 153 def id eid end |
#to_s ⇒ Object
157 158 159 |
# File 'lib/opener/outlet/visualizer.rb', line 157 def to_s "#{type}: #{targets.map(&:to_s).join(", ")}" end |