module TickTack::Scope::Month

Attributes

month_i[RW]

Public Instance Methods

init_month(month_i = nil) click to toggle source
# File lib/tick_tack/scope/month.rb, line 8
def init_month(month_i = nil)
  @month_i = month_i || @calendar.now.month
end
year() click to toggle source
# File lib/tick_tack/scope/month.rb, line 12
def year
  @calendar.year(year_i)
end