class OboParser::OboParser::Typedef
Public Class Methods
new(tags)
click to toggle source
Calls superclass method
OboParser::OboParser::Stanza::new
# File lib/obo_parser.rb, line 131 def initialize(tags) super #anonymous_tags = [] ## Loop through "unclaimed" tags and reference those specific to Typedef #while @other_tags.size != 0 # t = @other_tags.shift # case t.tag # when 'def' # @def = t # else # anonymous_tags.push(t) # end # @other_tags = anonymous_tags #end end