Sha256: 275591f2ff845e836e6aa88503ced882a5b594a2e9a38d80a703613f0023d8c3
Contents?: true
Size: 309 Bytes
Versions: 3
Compression:
Stored size: 309 Bytes
Contents
# -*- coding: utf-8 -*- 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 private def self.holidays @@_holidays ||= Holidays.new end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
holiday_jp-0.5.1 | lib/holiday_jp.rb |
holiday_jp-0.5.0 | lib/holiday_jp.rb |
holiday_jp-0.4.3 | lib/holiday_jp.rb |