vendor/bundle/ruby/1.8/gems/rufus-scheduler-2.0.16/lib/rufus/sc/scheduler.rb
def complain_if_blocking_and_timeout(job)

      raise(
        ArgumentError.new('cannot set a :timeout on a :blocking job')
      ) if job.params[:blocking] and job.params[:timeout]
    end
# Raises an error if the job has the params :blocking and :timeout set
#
Raises an error if the job has the params :blocking and :timeout set
Raises an error if the job has the params : blocking and : timeout set
def complain_if_blocking_and_timeout(job)
      raise(
        ArgumentError.new('cannot set a :timeout on a :blocking job')
      ) if job.params[:blocking] and job.params[:timeout]
    end
def complain_if_blocking_and_timeout ( job ) raise ( ArgumentError . new ( 'cannot set a :timeout on a :blocking job' ) ) if job . params [ :blocking ] and job . params [ :timeout ] end
Raises an error if the job has the params :blocking and :timeout set
Raises an error if the job has the params : blocking and : timeout set
job