method

around

rails latest stable - Class: ActiveSupport::Callbacks::CallbackSequence

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

around(&around)
public

No documentation available.

# File activesupport/lib/active_support/callbacks.rb, line 445
      def around(&around)
        CallbackSequence.new do |arg|
          around.call(arg) {
            self.call(arg)
          }
        end
      end