Module: Rails
- Defined in:
- lib/rtml/init.rb
Defined Under Namespace
Modules: VERSION
Classes: Configuration
Class Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Class Attribute Details
.backtrace_cleaner ⇒ Object
40
41
42
|
# File 'lib/rtml/init.rb', line 40
def backtrace_cleaner
@backtrace_cleaner ||= ActiveSupport::BacktraceCleaner.new
end
|
.configuration ⇒ Object
44
45
46
|
# File 'lib/rtml/init.rb', line 44
def configuration
@configuration ||= Configuration.new
end
|
.logger=(value) ⇒ Object
Sets the attribute logger
34
35
36
|
# File 'lib/rtml/init.rb', line 34
def logger=(value)
@logger = value
end
|
Instance Method Details
#logger ⇒ Object
36
37
38
|
# File 'lib/rtml/init.rb', line 36
def logger
@logger ||= Logger.new(File.join(RAILS_ROOT, "tmp/rtml.log"))
end
|