module RailsFancies::FancyWeeklyCalendarHelper
Public Instance Methods
fancy_weekly_calendar(date = Date.today, options = {}, &block)
click to toggle source
# File lib/rails_fancies/fancy_weekly_calendar_helper.rb, line 4 def fancy_weekly_calendar(date = Date.today, options = {}, &block) Calendar.new(self, date, options, block).table end
slot_available?(date, slot_num)
click to toggle source
# File lib/rails_fancies/fancy_weekly_calendar_helper.rb, line 7 def slot_available?(date, slot_num) Calendar.available?(date, slot_num) end