module GroundhogDay::DateExtensions

Public Instance Methods

today() click to toggle source
Calls superclass method
# File lib/groundhog_day/date_extensions.rb, line 3
def today
  if GroundhogDay.enabled?
    GroundhogDay.date
  else
    super
  end
end