Class: ODDB::OdbaExporter::ScLine

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

Constant Summary

LENGTH =
8

Instance Method Summary (collapse)

Methods inherited from SubstanceLine

#initialize

Methods inherited from PackageLine

#initialize

Methods inherited from Line

#content, #empty?, #initialize, #to_s

Constructor Details

This class inherits a constructor from ODDB::OdbaExporter::SubstanceLine

Instance Method Details

- (Object) structure



607
608
609
610
611
612
613
614
615
616
# File 'ext/export/src/oddbdat.rb', line 607

def structure
  {
    1    =>  '40',
    2    =>  @date,
    3    =>  @substance.oid,
    4    =>  'L',
    5    =>  '4',
    6    =>  @substance,
  }
end