Module: Locomotive::Common
- Defined in:
- lib/locomotive/common.rb,
lib/locomotive/common/logger.rb,
lib/locomotive/common/version.rb,
lib/locomotive/common/notifier.rb,
lib/locomotive/common/exception.rb,
lib/locomotive/common/configuration.rb
Defined Under Namespace
Classes: Configuration, DefaultException, Logger, Notifier, RendererException
Constant Summary
collapse
- VERSION =
'0.5.0'
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
22
23
24
|
# File 'lib/locomotive/common.rb', line 22
def self.configuration
@configuration ||= Configuration.new
end
|
Class Method Details
30
31
32
|
# File 'lib/locomotive/common.rb', line 30
def self.configure
yield(configuration)
end
|
.reset ⇒ Object
26
27
28
|
# File 'lib/locomotive/common.rb', line 26
def self.reset
@configuration = Configuration.new
end
|