method

_define_around_model_callback

_define_around_model_callback(klass, callback)
private

No documentation available.

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