Class: Opener::Kaf::Visualizer::Property
- Defined in:
- lib/opener/s3_outlet/visualizer.rb
Instance Attribute Summary collapse
-
#lemma ⇒ Object
readonly
Returns the value of attribute lemma.
-
#pid ⇒ Object
readonly
Returns the value of attribute pid.
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
#lemma ⇒ Object (readonly)
Returns the value of attribute lemma.
160 161 162 |
# File 'lib/opener/s3_outlet/visualizer.rb', line 160 def lemma @lemma end |
#pid ⇒ Object (readonly)
Returns the value of attribute pid.
160 161 162 |
# File 'lib/opener/s3_outlet/visualizer.rb', line 160 def pid @pid end |
Instance Method Details
#id ⇒ Object
162 163 164 |
# File 'lib/opener/s3_outlet/visualizer.rb', line 162 def id pid end |
#to_s ⇒ Object
166 167 168 |
# File 'lib/opener/s3_outlet/visualizer.rb', line 166 def to_s "#{lemma}: #{targets.map(&:to_s).join(", ")}" end |