class TZInfo::TransitionRule

def initialize(transition_at)

Raises:
  • (ArgumentError) - if `transition_at` is not an `Integer`.

Parameters:
  • transition_at (Integer) -- the time in seconds after midnight local
def initialize(transition_at)
  raise ArgumentError, 'Invalid transition_at' unless transition_at.kind_of?(Integer)
  @transition_at = transition_at
end