Module: CiLogger
- Defined in:
- lib/ci_logger.rb,
lib/ci_logger/logger.rb,
lib/ci_logger/railtie.rb,
lib/ci_logger/version.rb,
lib/ci_logger/registry.rb,
lib/ci_logger/minitest/integration.rb,
lib/ci_logger/rspec/example_group_methods.rb
Defined Under Namespace
Modules: Minitest, Registry, Rspec
Classes: Logger, Railtie
Constant Summary
collapse
- VERSION =
'0.9.0'
Class Method Summary
collapse
Class Method Details
.disabled? ⇒ Boolean
15
16
17
|
# File 'lib/ci_logger.rb', line 15
def disabled?
!enabled?
end
|
.enabled? ⇒ Boolean
11
12
13
|
# File 'lib/ci_logger.rb', line 11
def enabled?
Rails.application.config.ci_logger.enabled
end
|
.new(original) ⇒ Object
7
8
9
|
# File 'lib/ci_logger.rb', line 7
def new(original)
Logger.new(original)
end
|