class OboParser::OboParserBuilder
Public Class Methods
new()
click to toggle source
# File lib/obo_parser.rb, line 150 def initialize @of = OboParser.new end
Public Instance Methods
add_term(tags)
click to toggle source
# File lib/obo_parser.rb, line 154 def add_term(tags) @of.terms.push OboParser::Term.new(tags) end
add_typedef(tags)
click to toggle source
# File lib/obo_parser.rb, line 158 def add_typedef(tags) @of.typedefs.push OboParser::Typedef.new(tags) end
obo_file()
click to toggle source
# File lib/obo_parser.rb, line 162 def obo_file @of end