Class: AgentConfigRecipe
- Inherits:
-
Object
- Object
- AgentConfigRecipe
- Defined in:
- lib/agens/mas.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, name, args = []) ⇒ AgentConfigRecipe
constructor
A new instance of AgentConfigRecipe.
Constructor Details
#initialize(type, name, args = []) ⇒ AgentConfigRecipe
Returns a new instance of AgentConfigRecipe.
7 8 9 10 11 |
# File 'lib/agens/mas.rb', line 7 def initialize(type, name, args = []) @type = type @name = name @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
5 6 7 |
# File 'lib/agens/mas.rb', line 5 def args @args end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/agens/mas.rb', line 5 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
5 6 7 |
# File 'lib/agens/mas.rb', line 5 def type @type end |