class FlexYear::AsteriskParser
Public Class Methods
can_parse?(string)
click to toggle source
# File lib/flexyear/range_parsers/asterisk_parser.rb, line 3 def self.can_parse?(string) string.end_with?('*') end
Public Instance Methods
parse()
click to toggle source
# File lib/flexyear/range_parsers/asterisk_parser.rb, line 7 def parse [0, 9] end