Class: Paradin::Base
- Inherits:
-
Object
- Object
- Paradin::Base
- Includes:
- Configuration, Task
- Defined in:
- lib/paradin/base.rb
Constant Summary
Constants included from Configuration
Configuration::DEFAULT_MAX_THREADS
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
- #perform(*args, **kwargs) ⇒ Object
Methods included from Task
Methods included from Configuration
included, #max_threads, #timeout
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/paradin/base.rb', line 7 def initialize self.class.send(:private, :perform) end |
Instance Method Details
#perform(*args, **kwargs) ⇒ Object
11 12 13 |
# File 'lib/paradin/base.rb', line 11 def perform(*args, **kwargs) raise NotImplementedError end |