Module: RSpectacles

Defined in:
lib/rspectacles/app.rb,
lib/rspectacles/config.rb,
lib/rspectacles/version.rb,
lib/rspectacles/formatter/redis.rb,
lib/rspectacles/adapter/redis_logger.rb,
lib/rspectacles/formatter/legacy/redis.rb,
lib/rspectacles/formatter/batched_redis.rb,
lib/rspectacles/adapter/batched_redis_logger.rb

Defined Under Namespace

Modules: Adapter, Formatter Classes: App, Config

Constant Summary collapse

VERSION =
'0.2.1'

Class Method Summary collapse

Class Method Details

.config {|configuration| ... } ⇒ Object

Yields:



46
47
48
49
# File 'lib/rspectacles/config.rb', line 46

def self.config
  yield configuration if block_given?
  configuration
end

.configurationObject



42
43
44
# File 'lib/rspectacles/config.rb', line 42

def self.configuration
  @configuration ||= Config.new
end