Module: Dashing::Semaphore
- Defined in:
- lib/dashing/semaphore.rb,
lib/dashing/semaphore/engine.rb,
lib/dashing/semaphore/version.rb,
lib/dashing/semaphore/configuration.rb,
app/jobs/dashing/semaphore/scheduler.rb,
lib/generators/dashing/semaphore/install_generator.rb
Defined Under Namespace
Modules: Generators Classes: Configuration, Engine, Scheduler
Constant Summary collapse
- VERSION =
'1.0.0'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
7 8 9 |
# File 'lib/dashing/semaphore.rb', line 7 def configuration @configuration end |
Class Method Details
.config ⇒ Object
9 10 11 |
# File 'lib/dashing/semaphore.rb', line 9 def config self.configuration ||= Configuration.new end |
.configure {|config| ... } ⇒ Object
13 14 15 |
# File 'lib/dashing/semaphore.rb', line 13 def configure yield config if block_given? end |