method
method_defined?
v6.1.7.7 -
Show latest stable
- Class:
ActiveRecord::AutosaveAssociation::ClassMethods
method_defined?(method, inherit = true)private
No documentation available.
# File activerecord/lib/active_record/autosave_association.rb, line 161
def method_defined?(method, inherit = true)
if inherit
super(method)
else
instance_methods(false).include?(method.to_sym)
end
end