method

arity_of_callable

Importance_0
v8.1.1 - Show latest stable - 0 notes - Class: Behavior
arity_of_callable(callable) 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/deprecation/behaviors.rb, line 143
        def arity_of_callable(callable)
          callable.respond_to?(:arity) ? callable.arity : callable.method(:call).arity
        end
Register or log in to add new notes.