Class: ODDB::OdbaExporter::LimTxtLine

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

Constant Summary collapse

LENGTH =
8

Instance Method Summary collapse

Methods inherited from Line

#content, #empty?, #to_s

Constructor Details

#initialize(lim_oid, language, txt) ⇒ LimTxtLine

Returns a new instance of LimTxtLine.



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

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

Instance Method Details

#structureObject



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

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