Class: ODDB::OdbaExporter::CodesTable

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

Constant Summary

FILENAME =
's11x'

Constants inherited from Table

CRLF

Instance Method Summary (collapse)

Methods inherited from Table

#filename

Instance Method Details

- (Object) atclines(atcclass)



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

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

- (Object) gallines(galform)



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

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

- (Object) lines(item)



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