Method: ActiveModel::AttributeMethods#respond_to_without_attributes?

Defined in:
lib/active_model/attribute_methods.rb

#respond_to_without_attributes?Object

A Person instance with a name attribute can ask person.respond_to?(:name), person.respond_to?(:name=), and person.respond_to?(:name?) which will all return true.


527
# File 'lib/active_model/attribute_methods.rb', line 527

alias :respond_to_without_attributes? :respond_to?