Module: GcalMapper::Mapper::ClassMethods
- Defined in:
- lib/gcal_mapper/mapper.rb
Overview
module to add class methods to the includer
Instance Method Summary collapse
-
#calendar(&block) ⇒ Object
provide dsl function.
-
#synchronize_calendar ⇒ Object
synchronize methods for the caller.
Instance Method Details
#calendar(&block) ⇒ Object
provide dsl function
61 62 63 64 65 |
# File 'lib/gcal_mapper/mapper.rb', line 61 def calendar(&block) Mapper.config = GcalMapper::Configuration.new dsl = DSL.new(Mapper.config) dsl.instance_eval(&block) end |