mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed syntax error in RDoc directive
This commit is contained in:
parent
155a21fe01
commit
e8e4e72639
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ module ActiveRecord
|
|||
BLACKLISTED_CLASS_METHODS.include?(method_name.to_s) || class_method_defined_within?(method_name, Base)
|
||||
end
|
||||
|
||||
def class_method_defined_within?(name, klass, superklass = klass.superclass) # :nodoc
|
||||
def class_method_defined_within?(name, klass, superklass = klass.superclass) # :nodoc:
|
||||
if klass.respond_to?(name, true)
|
||||
if superklass.respond_to?(name, true)
|
||||
klass.method(name).owner != superklass.method(name).owner
|
||||
|
|
Loading…
Reference in a new issue