Class: TopPred::Parser_XML::AXML

Inherits:
DOM show all
Defined in:
lib/transmembrane/toppred.rb

Instance Method Summary collapse

Methods inherited from DOM

#to_index

Methods included from TopPred::Parser_XML

new, #parse

Methods included from TopPred::Parser

#add_sequences_to_segments, #file_to_index, filetype, new

Instance Method Details

#get_root_node_from_io(io, &block) ⇒ Object



363
364
365
366
# File 'lib/transmembrane/toppred.rb', line 363

def get_root_node_from_io(io, &block)
  root = ::AXML.parse(io)
  block.call(root)
end