Sha256: e282a29fbc7a2d61ab65dcb6a981f66d88086f056632c766d9eee974c7b47a71

Contents?: true

Size: 262 Bytes

Versions: 3

Compression:

Stored size: 262 Bytes

Contents

require 'ms/parser/mzxml/dom'

class MS::Parser::MzXML::LibXML < MS::Parser::MzXML::DOM
  def goot_root_node_from_string(string)
    XML::Parser.string(string).parse.root
  end
  def get_root_node_from_file(file)
    XML::Document.file(file).root
  end
end




Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mspire-0.3.0 lib/ms/parser/mzxml/libxml.rb
mspire-0.3.1 lib/ms/parser/mzxml/libxml.rb
mspire-0.3.9 lib/ms/parser/mzxml/libxml.rb