Class: Screengem::Task
- Inherits:
-
Object
- Object
- Screengem::Task
- Includes:
- Actionable, Configurable, DSL, Dampenable, Executable
- Defined in:
- lib/screengem/task.rb
Overview
Base class for all tasks.
Direct Known Subclasses
Instance Method Summary collapse
Methods included from DSL
Methods included from Executable
Methods included from Dampenable
Methods included from Configurable
Methods included from Actionable
Instance Method Details
#perform ⇒ Object
15 16 17 |
# File 'lib/screengem/task.rb', line 15 def perform execute.tap { sleep(seconds_to_dampen) } end |