Class: AgentConfigRecipe

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argsObject (readonly)

Returns the value of attribute args.



5
6
7
# File 'lib/agens/mas.rb', line 5

def args
  @args
end

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/agens/mas.rb', line 5

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type.



5
6
7
# File 'lib/agens/mas.rb', line 5

def type
  @type
end