Module: Paradin::Configuration
- Included in:
- Base
- Defined in:
- lib/paradin/configuration.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- DEFAULT_MAX_THREADS =
1
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 |
# File 'lib/paradin/configuration.rb', line 6 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#max_threads ⇒ Object
32 33 34 |
# File 'lib/paradin/configuration.rb', line 32 def max_threads self.class.max_threads end |
#timeout ⇒ Object
28 29 30 |
# File 'lib/paradin/configuration.rb', line 28 def timeout self.class.timeout end |