Class: EacRailsBase0App::Application
- Inherits:
-
Rails::Application
- Object
- Rails::Application
- EacRailsBase0App::Application
show all
- Defined in:
- lib/eac_rails_base0/app_base/application.rb,
lib/eac_rails_base0/app_base/application/all.rb,
lib/eac_rails_base0/app_base/application/test.rb,
lib/eac_rails_base0/app_base/application/envvars.rb,
lib/eac_rails_base0/app_base/application/production.rb,
lib/eac_rails_base0/app_base/application/development.rb
Defined Under Namespace
Modules: All, Development, Envvars, Production, Test
Class Method Summary
collapse
Class Method Details
.new_stdout_logger ⇒ Object
13
14
15
16
17
|
# File 'lib/eac_rails_base0/app_base/application.rb', line 13
def new_stdout_logger
logger = ActiveSupport::Logger.new($stdout)
logger.formatter = config.log_formatter
::ActiveSupport::TaggedLogging.new(logger)
end
|
.setup(*args) ⇒ Object
19
20
21
|
# File 'lib/eac_rails_base0/app_base/application.rb', line 19
def setup(*args)
args.each { |a| send("setup_#{a}") }
end
|