class FlexYear::BeforeParser

Public Class Methods

can_parse?(string) click to toggle source
# File lib/flexyear/range_parsers/before_parser.rb, line 3
def self.can_parse?(string)
  string.start_with?('before')
end

Public Instance Methods

parse() click to toggle source
# File lib/flexyear/range_parsers/before_parser.rb, line 7
def parse
  [nil, 0]
end