Class: Ruco::Production

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

Direct Known Subclasses

Ruco

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Group

#convert_thing, #either, #generate, #group, #many, #maybe, #maybemany, #multiply, #one, #sync

Constructor Details

#initialize(name, prodtype = :normal) ⇒ Production

Returns a new instance of Production.



201
202
203
204
205
206
# File 'lib/ruco.rb', line 201

def initialize(name, prodtype=:normal)

	@prodtype = prodtype
	@name = name
	super()
end

Instance Attribute Details

#prodsetObject

Returns the value of attribute prodset.



199
200
201
# File 'lib/ruco.rb', line 199

def prodset
  @prodset
end

#prodtypeObject

Returns the value of attribute prodtype.



199
200
201
# File 'lib/ruco.rb', line 199

def prodtype
  @prodtype
end