Module: IceCube::Validations::SecondOfMinute

Included in:
IceCube::ValidatedRule
Defined in:
lib/ice_cube/validations/second_of_minute.rb

Defined Under Namespace

Classes: Validation

Instance Method Summary collapse

Instance Method Details

#second_of_minute(*seconds) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/ice_cube/validations/second_of_minute.rb', line 5

def second_of_minute(*seconds)
  seconds.each do |second|
    validations_for(:second_of_minute) << Validation.new(second)
  end
  clobber_base_validations :sec
  self
end