Method: Workpattern::Workpattern#resting
- Defined in:
- lib/workpattern/workpattern.rb
#resting(args = {}) ⇒ Object
Convenience method that calls #workpattern with the :work_type specified as resting.
166 167 168 169 |
# File 'lib/workpattern/workpattern.rb', line 166 def resting(args = {}) args[:work_type] = REST_TYPE workpattern(args) end |