Module: RSpectacles
- Defined in:
- lib/rspectacles/app.rb,
lib/rspectacles/config.rb,
lib/rspectacles/version.rb,
lib/rspectacles/adapter/logger.rb,
lib/rspectacles/formatter/base.rb,
lib/rspectacles/formatter/batched.rb,
lib/rspectacles/adapter/batched_logger.rb
Defined Under Namespace
Modules: Adapter, Formatter
Classes: App, Config
Constant Summary
collapse
- VERSION =
'0.5.0'
Class Method Summary
collapse
Class Method Details
.config {|configuration| ... } ⇒ Object
58
59
60
61
|
# File 'lib/rspectacles/config.rb', line 58
def self.config
yield configuration if block_given?
configuration
end
|
.configuration ⇒ Object
54
55
56
|
# File 'lib/rspectacles/config.rb', line 54
def self.configuration
@configuration ||= Config.new
end
|