mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
indentation fixes
This commit is contained in:
parent
3c5340ec9c
commit
8d7aee7173
1 changed files with 2 additions and 2 deletions
|
@ -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+
|
||||
|
|
Loading…
Reference in a new issue