Class: QtyLit
- Inherits:
-
Struct
- Object
- Struct
- QtyLit
- Defined in:
- lib/oddb2xml/parslet_compositions.rb
Instance Attribute Summary collapse
-
#qty ⇒ Object
Returns the value of attribute qty.
Instance Method Summary collapse
Instance Attribute Details
#qty ⇒ Object
Returns the value of attribute qty
95 96 97 |
# File 'lib/oddb2xml/parslet_compositions.rb', line 95 def qty @qty end |
Instance Method Details
#eval ⇒ Object
96 |
# File 'lib/oddb2xml/parslet_compositions.rb', line 96 def eval; qty.to_i; end |