This is a template of splitter.
The last parsed entry read from the stream (entry data class). Note that it is valid only after get_parsed_entry is called, and the get_entry may not affect the parsed_entry attribute.
Gets entry as a string. (String)
# File lib/bio/io/flatfile/splitter.rb, line 47 def get_entry raise NotImplementedError end
Gets entry as a data class’s object
# File lib/bio/io/flatfile/splitter.rb, line 52 def get_parsed_entry ent = get_entry if ent then self.parsed_entry = dbclass.new(ent) else self.parsed_entry = ent end parsed_entry end
Generated with the Darkfish Rdoc Generator 2.