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/formatter/legacy/base.rb,
lib/rspectacles/adapter/batched_logger.rb
Defined Under Namespace
Modules: Adapter, Formatter
Classes: App, Config
Constant Summary
collapse
- VERSION =
'0.4.0'
Class Method Summary
collapse
Class Method Details
.config {|configuration| ... } ⇒ Object
48
49
50
51
|
# File 'lib/rspectacles/config.rb', line 48
def self.config
yield configuration if block_given?
configuration
end
|
.configuration ⇒ Object
44
45
46
|
# File 'lib/rspectacles/config.rb', line 44
def self.configuration
@configuration ||= Config.new
end
|