method

define_around_helper

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: Logger
define_around_helper(level) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/logger.rb, line 5
  def self.define_around_helper(level)
    module_eval "def around_\#{level}(before_message, after_message, &block)  # def around_debug(before_message, after_message, &block)\nself.\#{level}(before_message)                             #   self.debug(before_message)\nreturn_value = block.call(self)                           #   return_value = block.call(self)\nself.\#{level}(after_message)                              #   self.debug(after_message)\nreturn return_value                                       #   return return_value\nend                                                         # end\n", __FILE__, __LINE__ + 1
  end
Register or log in to add new notes.