diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-21 02:19:44 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-21 19:21:58 +0530 |
commit | 8d7aee71738fbf1ff090ff44a09624e592b94b04 (patch) | |
tree | b2d3b04fc742ffe79ec06f086a716e4297f9e62e /railties | |
parent | 3c5340ec9cbf12d19e734289ba748186af492d60 (diff) | |
download | rails-8d7aee71738fbf1ff090ff44a09624e592b94b04.tar.gz rails-8d7aee71738fbf1ff090ff44a09624e592b94b04.tar.bz2 rails-8d7aee71738fbf1ff090ff44a09624e592b94b04.zip |
indentation fixes
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/active_support_core_extensions.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile index e81fe13010..5aee001545 100644 --- a/railties/guides/source/active_support_core_extensions.textile +++ b/railties/guides/source/active_support_core_extensions.textile @@ -3518,8 +3518,8 @@ h4. +around_[level]+ Takes two arguments, a +before_message+ and +after_message+ and calls the current level method on the +Logger+ instance, passing in the +before_message+, then the specified message, then the +after_message+: <ruby> - logger = Logger.new("log/development.log") - logger.around_info("before", "after") { |logger| logger.info("during") } +logger = Logger.new("log/development.log") +logger.around_info("before", "after") { |logger| logger.info("during") } </ruby> h4. +silence+ |