method
respond_to?
v3.1.0 -
Show latest stable
- Class:
ActiveSupport::Multibyte::Chars
respond_to?(method, include_private=false)public
Returns true if obj responds to the given method. Private methods are included in the search only if the optional second parameter evaluates to true.