Class: Glossarist::Agent::Concept
- Inherits:
-
Object
- Object
- Glossarist::Agent::Concept
- Defined in:
- lib/glossarist/agent/concept.rb
Instance Attribute Summary collapse
-
#managed_concept ⇒ Object
readonly
Returns the value of attribute managed_concept.
Instance Method Summary collapse
-
#initialize(data) ⇒ Concept
constructor
A new instance of Concept.
Constructor Details
#initialize(data) ⇒ Concept
Returns a new instance of Concept.
8 9 10 11 |
# File 'lib/glossarist/agent/concept.rb', line 8 def initialize(data) @managed_concept = Glossarist::ManagedConcept.new populate_concept(data) end |
Instance Attribute Details
#managed_concept ⇒ Object (readonly)
Returns the value of attribute managed_concept.
6 7 8 |
# File 'lib/glossarist/agent/concept.rb', line 6 def managed_concept @managed_concept end |