Class: Ruco::Production
Direct Known Subclasses
Instance Attribute Summary collapse
-
#prodset ⇒ Object
Returns the value of attribute prodset.
-
#prodtype ⇒ Object
Returns the value of attribute prodtype.
Instance Method Summary collapse
-
#initialize(name, prodtype = :normal) ⇒ Production
constructor
A new instance of Production.
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
#prodset ⇒ Object
Returns the value of attribute prodset.
199 200 201 |
# File 'lib/ruco.rb', line 199 def prodset @prodset end |
#prodtype ⇒ Object
Returns the value of attribute prodtype.
199 200 201 |
# File 'lib/ruco.rb', line 199 def prodtype @prodtype end |