Method: MARC::Reader#decode

Defined in:
lib/marc/reader.rb

#decode(marc) ⇒ Object

Decodes the given string into a MARC::Record object.

Wraps the class method MARC::Reader::decode, using the encoding options of the MARC::Reader instance.



279
280
281
# File 'lib/marc/reader.rb', line 279

def decode(marc)
  MARC::Reader.decode(marc, @encoding_options)
end