module SimpleCalendar::Helpers::CellsHelper

Public Instance Methods

calendar(options = {}, &block) click to toggle source
Calls superclass method
# File lib/simple_calendar_cells.rb, line 17
def calendar(options = {}, &block)
  partial = { partial: options[:partial] || '../views/simple_calendar/calendar' }
  options = options.reverse_merge(partial)
  super
end
month_calendar(options = {}, &block) click to toggle source
Calls superclass method
# File lib/simple_calendar_cells.rb, line 23
def month_calendar(options = {}, &block)
  partial = { partial: options[:partial] || '../views/simple_calendar/month_calendar' }
  options = options.reverse_merge(partial)
  super
end
week_calendar(options = {}, &block) click to toggle source
Calls superclass method
# File lib/simple_calendar_cells.rb, line 29
def week_calendar(options = {}, &block)
  partial = { partial: options[:partial] || '../views/simple_calendar/week_calendar' }
  options = options.reverse_merge(partial)
  super
end