method

_define_around_model_callback

_define_around_model_callback(klass, callback)
private

No documentation available.

# File activemodel/lib/active_model/callbacks.rb, line 131
    def _define_around_model_callback(klass, callback) #:nodoc:
      klass.define_singleton_method("around_#{callback}") do |*args, &block|
        set_callback(:"#{callback}", :around, *args, &block)
      end
    end