Sha256: e5a654aef3d01fddd24d5f1cf0d4cbc44dd6967e88c1b29913e97c4efc75cd07

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

module Cal
  class Day

    def initialize(calendar, date)
      @calendar = calendar
      @date = date
    end

    attr_reader :calendar, :date

    def ==(other)
      other.is_a?(Day) && other.calendar == calendar && other.date == date
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cal-0.0.1 lib/cal/day.rb