Sha256: bf3872e87b544fe58e8c99f733dac3a4c3a5c168dbf4abcb845a65c9d407bcbe
Contents?: true
Size: 367 Bytes
Versions: 8
Compression:
Stored size: 367 Bytes
Contents
require 'botfly/matcher' # FIXME: Make time matching much more robust module Botfly class MUCTimeMatcher < Matcher def match(params) time = params[:time] Botfly.logger.debug "MCH: Matching #{@condition.inspect} against #{time}" Botfly.logger.debug "RESULT: #{(time =~ @condition).inspect}" return time =~ @condition end end end
Version data entries
8 entries across 8 versions & 1 rubygems