Class: ODDB::OdbaExporter::AcLimTable
- Defined in:
- ext/export/src/oddbdat.rb
Constant Summary collapse
- FILENAME =
's09x'
Constants inherited from Table
Instance Method Summary collapse
Methods inherited from Table
Instance Method Details
#lines(package) ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'ext/export/src/oddbdat.rb', line 28 def lines(package) lines = [] unless((sl = package.sl_entry).nil?) if(lim = sl.limitation_text) chap = lim.descriptions.values.first chap.paragraphs.each_with_index { |par, idx| pack = package.oid line = idx lim = (pack.to_s + sprintf('%03i', line).to_s).to_i lines << AcLimLine.new(pack, line, lim) } end end lines end |