holidays / holidays

A collection of Ruby methods to deal with statutory and other holidays. You deserve a holiday!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Definitions with invalid functions do not raise error on generation

ppeble opened this issue · comments

I accidentally entered 'to_weekday_if_sunday', which is not a valid method that is recognized by this gem. Instead of erroring out it proceeded as normal and I only figured it out later. We need it to raise a hard error if a provided method is not known or defined.