Class: ODDB::OdbaExporter::MCMLine
- Defined in:
- ext/export/src/oddbdat.rb
Constant Summary collapse
- LENGTH =
7
Instance Method Summary collapse
-
#initialize(fi_oid, line_nr, language, text) ⇒ MCMLine
constructor
A new instance of MCMLine.
- #structure ⇒ Object
Methods inherited from Line
Constructor Details
#initialize(fi_oid, line_nr, language, text) ⇒ MCMLine
Returns a new instance of MCMLine.
654 655 656 657 658 659 660 |
# File 'ext/export/src/oddbdat.rb', line 654 def initialize(fi_oid, line_nr, language, text) @fi_oid = fi_oid @line_nr = line_nr @language = language @text = text super end |
Instance Method Details
#structure ⇒ Object
661 662 663 664 665 666 667 668 669 670 671 |
# File 'ext/export/src/oddbdat.rb', line 661 def structure { 1 => '31', 2 => @date, 3 => @fi_oid, 4 => @language.to_s[0,1].upcase, 5 => @line_nr, 6 => '4', 7 => @text, } end |