class FlexYear::AfterParser

Public Class Methods

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

Public Instance Methods

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