Class: Glossarist::Agent::Concept

Inherits:
Object
  • Object
show all
Defined in:
lib/glossarist/agent/concept.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_conceptObject (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