Class: ODDB::OdbaExporter::AtcLine
- Defined in:
- ext/export/src/oddbdat.rb
Constant Summary collapse
- LENGTH =
9
Instance Method Summary collapse
-
#initialize(atcclass) ⇒ AtcLine
constructor
A new instance of AtcLine.
- #structure ⇒ Object
Methods inherited from Line
Constructor Details
#initialize(atcclass) ⇒ AtcLine
Returns a new instance of AtcLine.
527 528 529 530 |
# File 'ext/export/src/oddbdat.rb', line 527 def initialize(atcclass) @atcclass = atcclass super end |
Instance Method Details
#structure ⇒ Object
531 532 533 534 535 536 537 538 539 540 541 542 |
# File 'ext/export/src/oddbdat.rb', line 531 def structure return if @atcclass.nil? { 1 => '11', 2 => @date, 3 => '8', 4 => @atcclass.code, 5 => 'D', 6 => '4', 7 => @atcclass.description, } end |