Sha256: 0ed90ef50ab8f917c01459489f76f96442868ec78928f8a51f31aa0ff3cee939

Contents?: true

Size: 342 Bytes

Versions: 5

Compression:

Stored size: 342 Bytes

Contents

require 'ms/parser/mzxml/dom'

class MS::Parser::MzXML::LibXML < MS::Parser::MzXML::DOM
  def get_root_node_from_string(string)
    XML::Parser.string(string).parse.root
  end
  def get_root_node_from_file(file)
    XML::Parser.filename(file).parse.root
  end
  def get_root_node_from_io(io)
    XML::Parser.io(io).parse.root
  end

end




Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mspire-0.4.9 lib/ms/parser/mzxml/libxml.rb
mspire-0.4.2 lib/ms/parser/mzxml/libxml.rb
mspire-0.4.4 lib/ms/parser/mzxml/libxml.rb
mspire-0.4.5 lib/ms/parser/mzxml/libxml.rb
mspire-0.4.7 lib/ms/parser/mzxml/libxml.rb