Sha256: 139691a2c6f2ee395d1d5e60191a59727237f30a5be3eb86d92f1fea96afbcf9
Contents?: true
Size: 543 Bytes
Versions: 52
Compression:
Stored size: 543 Bytes
Contents
# encoding: utf-8 module SportDb module FixtureHelpers def is_postponed?( line ) # check if line include postponed marker e.g. => line =~ /=>/ end def find_date!( line, opts={} ) ## NB: lets us pass in start_at/end_at date (for event) # for auto-complete year # extract date from line # and return it # NB: side effect - removes date from line string finder = DateFinder.new finder.find!( line, opts ) end end # module FixtureHelpers end # module SportDb
Version data entries
52 entries across 52 versions & 2 rubygems