Class: ODDB::OdbaExporter::GalenicFormLine
- Defined in:
- ext/export/src/oddbdat.rb
Constant Summary collapse
- LENGTH =
9
Instance Method Summary collapse
-
#initialize(galenic_form) ⇒ GalenicFormLine
constructor
A new instance of GalenicFormLine.
- #structure ⇒ Object
Methods inherited from Line
Constructor Details
#initialize(galenic_form) ⇒ GalenicFormLine
Returns a new instance of GalenicFormLine.
588 589 590 591 |
# File 'ext/export/src/oddbdat.rb', line 588 def initialize(galenic_form) @galenic_form = galenic_form super end |
Instance Method Details
#structure ⇒ Object
592 593 594 595 596 597 598 599 600 601 602 |
# File 'ext/export/src/oddbdat.rb', line 592 def structure { 1 => '11', 2 => @date, 3 => '5', 4 => @galenic_form.oid, 5 => 'D', 6 => '4', 7 => @galenic_form.to_s, } end |