lib/bio/appl/iprscan/report.rb in bio-2.0.2 vs lib/bio/appl/iprscan/report.rb in bio-2.0.3
- old
+ new
@@ -81,11 +81,11 @@
end
end
yield Bio::Iprscan::Report.parse_raw_entry(entry) if entry != ''
end
- # Parser method for a raw formated entry. Retruns a Bio::Iprscan::Report
+ # Parser method for a raw formated entry. Returns a Bio::Iprscan::Report
# object.
def self.parse_raw_entry(str)
report = self.new
str.split(/\n/).each do |line|
line = line.split("\t")
@@ -111,11 +111,11 @@
report
end
- # Parser method for a xml formated entry. Retruns a Bio::Iprscan::Report
+ # Parser method for a xml formated entry. Returns a Bio::Iprscan::Report
# object.
# def self.parse_xml(str)
# end
# Splits the entry stream.
@@ -194,10 +194,10 @@
io.each("\n\/\/\n") do |entry|
yield self.parse_ptxt_entry(entry)
end
end
- # Parser method for a pseudo-txt formated entry. Retruns a Bio::Iprscan::Report
+ # Parser method for a pseudo-txt formated entry. Returns a Bio::Iprscan::Report
# object.
#
# == Usage
#
# File.read("marged.txt").each(Bio::Iprscan::Report::RS) do |e|