method
define_around_helper
define_around_helper(level)
public
Hide source
# File activesupport/lib/active_support/core_ext/logger.rb, line 4 def self.define_around_helper(level) module_eval "def around_\#{level}(before_message, after_message, &block)\nself.\#{level}(before_message)\nreturn_value = block.call(self)\nself.\#{level}(after_message)\nreturn return_value\nend\n" end