class OboParser::Tokens::Label

same as ID

Public Class Methods

new(str) click to toggle source
# File lib/obo_parser/tokens.rb, line 191
def initialize(str)
  str.strip!
  str = str[1..-2] if str[0..0] == "'" # get rid of quote marks
  str = str[1..-2] if str[0..0] == '"' 
  str.strip! 
  @value = str
end