Class: ODDB::OdbaExporter::GalenicFormLine

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

Constant Summary collapse

LENGTH =
9

Instance Method Summary collapse

Methods inherited from Line

#content, #empty?, #to_s

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

#structureObject



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