Sha256: 4e3cd50620ef00a5cc8cc9538a21fcf63e0d1a1708021c7c6f885188462fd700

Contents?: true

Size: 274 Bytes

Versions: 5

Compression:

Stored size: 274 Bytes

Contents

require "holiday_jp/holiday"
require "holiday_jp/holidays"

module HolidayJp
  def self.between(start, last)
    holidays.between(start, last)
  end

  def self.holiday?(date)
    holidays.holiday?(date)
  end

  def self.holidays
    @@_holidays ||= Holidays.new
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
holiday_jp-0.8.1 lib/holiday_jp.rb
holiday_jp-0.8.0 lib/holiday_jp.rb
holiday_jp-0.7.1 lib/holiday_jp.rb
holiday_jp-0.7.0 lib/holiday_jp.rb
holiday_jp-0.6.1 lib/holiday_jp.rb