class RefParsers::PubMedParser
Public Class Methods
new()
click to toggle source
Calls superclass method
RefParsers::LineParser::new
# File lib/ref_parsers/pubmed_parser.rb, line 4 def initialize() @type_key = "PMID" @terminator_key = nil @line_regex = /^(\w{1,4})\s{0,3}- (.*)$/ @key_regex_order = 1 @value_regex_order = 2 @regex_match_length = 3 super() end
Public Instance Methods
friendly_name()
click to toggle source
# File lib/ref_parsers/pubmed_parser.rb, line 14 def friendly_name() "PubMed/NBIB Parser" end