Sha256: f489a57096d0ba643c58156e9b6fb3a119434a0829cc6bf6ab2c6d0398e82096
Contents?: true
Size: 381 Bytes
Versions: 39
Compression:
Stored size: 381 Bytes
Contents
# encoding: utf-8 module SportDb module FixtureHelpers def is_goals?( line ) # check if is goals line # e.g. looks like # Neymar 29', 71' (pen.) Oscar 90+1'; Marcelo 11' (o.g.) # check for # <space>90' or # <space>90+1' line =~ /[ ](\d{1,3}\+)?\d{1,3}'/ end end # module FixtureHelpers end # module SportDb
Version data entries
39 entries across 39 versions & 2 rubygems