diff options
author | Xavier Noria <fxn@hashref.com> | 2008-05-21 13:54:40 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2008-05-21 13:54:40 +0200 |
commit | 08cac396ccecc60026d0bb7b4a179cb99e06ff41 (patch) | |
tree | 279af67b457d822a9ca82c700057e35075d3b37a | |
parent | fb1858d5ecd808f9abdcb2f56ee61702d5076bf6 (diff) | |
download | rails-08cac396ccecc60026d0bb7b4a179cb99e06ff41.tar.gz rails-08cac396ccecc60026d0bb7b4a179cb99e06ff41.tar.bz2 rails-08cac396ccecc60026d0bb7b4a179cb99e06ff41.zip |
revised font of constants in Railties
-rw-r--r-- | railties/lib/initializer.rb | 6 | ||||
-rw-r--r-- | railties/lib/rails_generator/base.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index dfd43042be..dd716cf501 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -326,7 +326,7 @@ module Rails end end - # If the +RAILS_DEFAULT_LOGGER+ constant is already set, this initialization + # If the RAILS_DEFAULT_LOGGER constant is already set, this initialization # routine does nothing. If the constant is not set, and Configuration#logger # is not +nil+, this also does nothing. Otherwise, a new logger instance # is created at Configuration#log_path, with a default log level of @@ -362,7 +362,7 @@ module Rails # Sets the logger for ActiveRecord, ActionController, and ActionMailer # (but only for those frameworks that are to be loaded). If the framework's # logger is already set, it is not changed, otherwise it is set to use - # +RAILS_DEFAULT_LOGGER+. + # RAILS_DEFAULT_LOGGER. def initialize_framework_logging for framework in ([ :active_record, :action_controller, :action_mailer ] & configuration.frameworks) framework.to_s.camelize.constantize.const_get("Base").logger ||= RAILS_DEFAULT_LOGGER @@ -685,7 +685,7 @@ module Rails end # Return the currently selected environment. By default, it returns the - # value of the +RAILS_ENV+ constant. + # value of the RAILS_ENV constant. def environment ::RAILS_ENV end diff --git a/railties/lib/rails_generator/base.rb b/railties/lib/rails_generator/base.rb index 1ebcff9062..b5cfe79867 100644 --- a/railties/lib/rails_generator/base.rb +++ b/railties/lib/rails_generator/base.rb @@ -36,7 +36,7 @@ module Rails # view.html.erb # # The directory name (+controller+) matches the name of the generator file - # (controller_generator.rb) and class (+ControllerGenerator+). The files + # (controller_generator.rb) and class (ControllerGenerator). The files # that will be copied or used as templates are stored in the +templates+ # directory. # |