Class: CLabs::CaseGen::Agent
Overview
base class
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#reference_agents ⇒ Object
readonly
Returns the value of attribute reference_agents.
Instance Method Summary collapse
-
#initialize(data, agents) ⇒ Agent
constructor
A new instance of Agent.
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
#data ⇒ Object (readonly)
Returns the value of attribute data.
16 17 18 |
# File 'lib/casegen.rb', line 16 def data @data end |
#reference_agents ⇒ Object (readonly)
Returns the value of attribute reference_agents.
16 17 18 |
# File 'lib/casegen.rb', line 16 def reference_agents @reference_agents end |