class Cronin::Hour

Attributes

hour[R]
minute[R]

Public Class Methods

new(hour,minute) click to toggle source
# File lib/cronin/hour.rb, line 5
def initialize(hour,minute)
  @hour   = hour
  @minute = minute
end

Public Instance Methods

==(other) click to toggle source
# File lib/cronin/hour.rb, line 10
def ==(other)
  other.hour == self.hour && other.minute == self.minute
end