Class: ConceptQL::Operators::VocabularyOperator::ConceptCode
- Inherits:
-
Struct
- Object
- Struct
- ConceptQL::Operators::VocabularyOperator::ConceptCode
- Defined in:
- lib/conceptql/operators/vocabulary_operator.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#description ⇒ Object
Returns the value of attribute description.
-
#vocabulary ⇒ Object
Returns the value of attribute vocabulary.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
10 11 12 |
# File 'lib/conceptql/operators/vocabulary_operator.rb', line 10 def code @code end |
#description ⇒ Object
Returns the value of attribute description
10 11 12 |
# File 'lib/conceptql/operators/vocabulary_operator.rb', line 10 def description @description end |
#vocabulary ⇒ Object
Returns the value of attribute vocabulary
10 11 12 |
# File 'lib/conceptql/operators/vocabulary_operator.rb', line 10 def vocabulary @vocabulary end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/conceptql/operators/vocabulary_operator.rb', line 11 def to_s "#{vocabulary} #{code}: #{description}" end |