Module: SimpleCalendar::Timeslot::ViewHelpers

Defined in:
lib/simple_calendar/timeslot/view_helpers.rb

Instance Method Summary collapse

Instance Method Details

#timeslot_calendar(options = {}, &block) ⇒ Object



4
5
6
7
# File 'lib/simple_calendar/timeslot/view_helpers.rb', line 4

def timeslot_calendar(options = {}, &block)
  raise "calendar requires a block" unless block
  TimeslotCalendar.new(self, options).render(&block)
end