Sha256: 227df97c98e313a825810f6409776a8d2ded52430e0d44a81ee2f3d9f4a4642d
Contents?: true
Size: 333 Bytes
Versions: 1
Compression:
Stored size: 333 Bytes
Contents
# encoding: utf-8 module SayWhen module Triggers module Base attr_accessor :job def initialize(options={}) self.job = options.delete(:job) end def next_fire_at(time=nil) raise NotImplementedError.new('You need to implement next_fire_at in your strategy') end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
say_when-1.0.0 | lib/say_when/triggers/base.rb |