module AskYearMonth::MonthNameHelper

Public Instance Methods

april?() click to toggle source
# File lib/ask_year_month/month_name_helper.rb, line 15
def april?
  month == 4
end
august?() click to toggle source
# File lib/ask_year_month/month_name_helper.rb, line 31
def august?
  month == 8
end
december?() click to toggle source
# File lib/ask_year_month/month_name_helper.rb, line 47
def december?
  month == 12
end
february?() click to toggle source
# File lib/ask_year_month/month_name_helper.rb, line 7
def february?
  month == 2
end
january?() click to toggle source
# File lib/ask_year_month/month_name_helper.rb, line 3
def january?
  month == 1
end
july?() click to toggle source
# File lib/ask_year_month/month_name_helper.rb, line 27
def july?
  month == 7
end
june?() click to toggle source
# File lib/ask_year_month/month_name_helper.rb, line 23
def june?
  month == 6
end
march?() click to toggle source
# File lib/ask_year_month/month_name_helper.rb, line 11
def march?
  month == 3
end
may?() click to toggle source
# File lib/ask_year_month/month_name_helper.rb, line 19
def may?
  month == 5
end
november?() click to toggle source
# File lib/ask_year_month/month_name_helper.rb, line 43
def november?
  month == 11
end
october?() click to toggle source
# File lib/ask_year_month/month_name_helper.rb, line 39
def october?
  month == 10
end
september?() click to toggle source
# File lib/ask_year_month/month_name_helper.rb, line 35
def september?
  month == 9
end