module SimpleCalendar::Timeslot::ViewHelpers
Public Instance Methods
timeslot_calendar(options = {}, &block)
click to toggle source
# 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