jonfuller / sep_holidays

Date#is_sep_holiday?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

require 'sep_holidays'

d = Date.new(2011, 12, 28)
d.is_sep_holiday? #=> true
    
d = Date.new(2011, 3, 7)
d.is_sep_holiday? #=> false

Mixin for Date to add the is_sep_holiday? method.

Holidays are up-to-date through 2013 currently.


Development

  • Clone the repo
  • bundle install
  • rake will run the test suite

About

Date#is_sep_holiday?


Languages

Language:Ruby 100.0%