Flowdock
method

simple

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: Around
simple(callback_sequence, user_callback) private

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/callbacks.rb, line 340
        def self.simple(callback_sequence, user_callback)
          callback_sequence.around do |env, &run|
            user_callback.call(env.target, env.value) {
              env = run.call env
              env.value
            }
            env
          end
        end
Register or log in to add new notes.