Class: Chem::CDX::Unformatted

Inherits:
Object
  • Object
show all
Defined in:
lib/chem/db/cdx.rb

Overview

fix me

Instance Method Summary collapse

Constructor Details

#initialize(str) ⇒ Unformatted

Returns a new instance of Unformatted.



917
918
919
# File 'lib/chem/db/cdx.rb', line 917

def initialize str
  @str = str
end

Instance Method Details

#to_binObject



925
926
927
# File 'lib/chem/db/cdx.rb', line 925

def to_bin
  @str
end

#to_xmlObject



921
922
923
# File 'lib/chem/db/cdx.rb', line 921

def to_xml
  @str
end