module IceCube::Validations::ScheduleLock
Public Instance Methods
schedule_lock(*types)
click to toggle source
Lock
the given time units to the units from schedule’s start_time
These locks are all clobberable by other rules of the same type using clobber_base_validation
# File lib/ice_cube/validations/schedule_lock.rb, line 9 def schedule_lock(*types) types.each do |type| validations_for(:"base_#{type}") << Validation.new(type) end end