Class: SuperFormatter::Ecan::Row
- Defined in:
- lib/super_formatter/ecan/row.rb
Instance Attribute Summary
Attributes inherited from Row
Instance Method Summary collapse
Methods inherited from Row
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SuperFormatter::Row
Instance Method Details
#global_order_id ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/super_formatter/ecan/row.rb', line 7 def global_order_id order_id = (find(:global_order_id) || "") if order_id[0] == "C" order_id[1, order_id.length - 1] else order_id end end |