Class: CLabs::CaseGen::Agent

Inherits:
Object
  • Object
show all
Defined in:
lib/casegen.rb

Overview

base class

Direct Known Subclasses

ConsoleOutput, RubyArrayOutput, Rules, Sets

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data, agents) ⇒ Agent

Returns a new instance of Agent.



18
19
20
21
# File 'lib/casegen.rb', line 18

def initialize(data, agents)
  @data = data
  @reference_agents = agents
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



16
17
18
# File 'lib/casegen.rb', line 16

def data
  @data
end

#reference_agentsObject (readonly)

Returns the value of attribute reference_agents.



16
17
18
# File 'lib/casegen.rb', line 16

def reference_agents
  @reference_agents
end