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, #one, #sync
Constructor Details
#initialize(name, prodtype = :normal) ⇒ Production
Returns a new instance of Production.
188 189 190 191 192 193 |
# File 'lib/ruco.rb', line 188 def initialize(name, prodtype=:normal) @prodtype = prodtype @name = name super() end |
Instance Attribute Details
#prodset ⇒ Object
Returns the value of attribute prodset.
186 187 188 |
# File 'lib/ruco.rb', line 186 def prodset @prodset end |
#prodtype ⇒ Object
Returns the value of attribute prodtype.
186 187 188 |
# File 'lib/ruco.rb', line 186 def prodtype @prodtype end |