Class: ODDB::OdbaExporter::LimTxtLine

Inherits:
Line show all
Defined in:
ext/export/src/oddbdat.rb

Constant Summary

LENGTH =
8

Instance Method Summary (collapse)

Methods inherited from Line

#content, #empty?, #to_s

Constructor Details

- (LimTxtLine) initialize(lim_oid, language, txt)

A new instance of LimTxtLine



636
637
638
639
640
641
# File 'ext/export/src/oddbdat.rb', line 636

def initialize(lim_oid, language, txt)
  @lim_oid = lim_oid
  @language = language
  @txt = txt
  super
end

Instance Method Details

- (Object) structure



642
643
644
645
646
647
648
649
650
651
# File 'ext/export/src/oddbdat.rb', line 642

def structure
  { 
    1  => '10',
    2  => @date,
    3  => @lim_oid,
    4  => @language,
    5  => '4',
    6  => @txt,
  }
end