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.
148 149 150 |
# File 'lib/opener/outlet/visualizer.rb', line 148 def eid @eid end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
148 149 150 |
# File 'lib/opener/outlet/visualizer.rb', line 148 def type @type end |
Instance Method Details
#id ⇒ Object
150 151 152 |
# File 'lib/opener/outlet/visualizer.rb', line 150 def id eid end |
#to_s ⇒ Object
154 155 156 |
# File 'lib/opener/outlet/visualizer.rb', line 154 def to_s "#{type}: #{targets.map(&:to_s).join(", ")}" end |