# File lib/active_support/callbacks.rb, line 140 def ==(other) case other when Callback (self.identifier && self.identifier == other.identifier) || self.method == other.method else (self.identifier && self.identifier == other) || self.method == other end end
# File lib/active_support/callbacks.rb, line 165 def call(*args, &block) evaluate_method(method, *args, &block) if should_run_callback?(*args) rescue LocalJumpError raise ArgumentError, "Cannot yield from a Proc type filter. The Proc must take two " + "arguments and execute #call on the second argument." end
# File lib/active_support/callbacks.rb, line 153 def dup self.class.new(@kind, @method, @options.dup) end
Generated with the Darkfish Rdoc Generator 2.