module TopPred::Parser_XML
Public Class Methods
new(meth=:to_index)
click to toggle source
# File lib/transmembrane/toppred.rb, line 122 def self.new(meth=:to_index) parser = XMLStyleParser.choose_parser(self, meth).new @method = meth parser end
Public Instance Methods
parse(file)
click to toggle source
# File lib/transmembrane/toppred.rb, line 128 def parse(file) send(@method, file) end