Class: ODDB::OdbaExporter::CodesTable

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

Constant Summary collapse

FILENAME =
's11x'

Constants inherited from Table

Table::CRLF

Instance Method Summary collapse

Methods inherited from Table

#filename

Instance Method Details

#atclines(atcclass) ⇒ Object



206
207
208
# File 'ext/export/src/oddbdat.rb', line 206

def atclines(atcclass)
	[AtcLine.new(atcclass)]
end

#gallines(galform) ⇒ Object



209
210
211
# File 'ext/export/src/oddbdat.rb', line 209

def gallines(galform)
	[GalenicFormLine.new(galform)]
end

#lines(item) ⇒ Object



198
199
200
201
202
203
204
205
# File 'ext/export/src/oddbdat.rb', line 198

def lines(item)
	case item
	when AtcClass
		atclines(item)
	when GalenicForm
		gallines(item)
	end
end