Module: RailsFancies::FancyWeeklyCalendarHelper
- Defined in:
- lib/rails_fancies/fancy_weekly_calendar_helper.rb
Defined Under Namespace
Classes: Calendar
Instance Method Summary collapse
- #fancy_weekly_calendar(date = Date.today, options = {}, &block) ⇒ Object
- #slot_available?(date, slot_num) ⇒ Boolean
Instance Method Details
#fancy_weekly_calendar(date = Date.today, options = {}, &block) ⇒ Object
4 5 6 |
# File 'lib/rails_fancies/fancy_weekly_calendar_helper.rb', line 4 def fancy_weekly_calendar(date = Date.today, = {}, &block) Calendar.new(self, date, , block).table end |
#slot_available?(date, slot_num) ⇒ Boolean
7 8 9 |
# File 'lib/rails_fancies/fancy_weekly_calendar_helper.rb', line 7 def slot_available?(date, slot_num) Calendar.available?(date, slot_num) end |