method
extract_options
rails latest stable - Class:
ActiveSupport::Callbacks::CallbackChain
extract_options(*methods, &block)private
No documentation available.
# File activesupport/lib/active_support/callbacks.rb, line 118
def self.extract_options(*methods, &block)
methods.flatten!
options = methods.extract_options!
methods << block if block_given?
return methods, options
end