Method: ForemanPatch::Window#move_by
- Defined in:
- app/models/foreman_patch/window.rb
#move_by(duration) ⇒ Object
61 62 63 64 |
# File 'app/models/foreman_patch/window.rb', line 61 def move_by(duration) self.start_at = self.start_at + duration self.end_by = self.end_by + duration end |