Module: Clamour
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/clamour.rb,
lib/clamour/version.rb
Defined Under Namespace
Modules: Handler, Message Classes: Bus, Configuration, Railtie, Registry, Subscription
Constant Summary collapse
- VERSION =
'0.0.3'
Class Method Summary collapse
-
.configuration ⇒ Clamour::Configuration
Clamour-wide configuration.
-
.configure {|Clamour::Configuration| ... } ⇒ Object
Shortcut for Clamour-wide configuration.
-
.registry ⇒ Object
Clamour-wide message handlers registry.
Class Method Details
.configuration ⇒ Clamour::Configuration
Clamour-wide configuration.
18 19 20 |
# File 'lib/clamour.rb', line 18 def self.configuration @configuration ||= Clamour::Configuration.new end |
.configure {|Clamour::Configuration| ... } ⇒ Object
Shortcut for Clamour-wide configuration.
31 32 33 |
# File 'lib/clamour.rb', line 31 def self.configure(&block) block.call(configuration) if block_given? end |