aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods.rb
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-12-20 10:28:08 -0800
committerZachary Scott <e@zzak.io>2014-12-20 10:28:08 -0800
commite8e4e72639eb6ab47394e80a4c6f4eed003ee13b (patch)
tree1c926f30583bae006518d6752cbf13bab5ba33a4 /activerecord/lib/active_record/attribute_methods.rb
parent155a21fe01d4f3489167d2340836b9c4b20e5b53 (diff)
downloadrails-e8e4e72639eb6ab47394e80a4c6f4eed003ee13b.tar.gz
rails-e8e4e72639eb6ab47394e80a4c6f4eed003ee13b.tar.bz2
rails-e8e4e72639eb6ab47394e80a4c6f4eed003ee13b.zip
Fixed syntax error in RDoc directive
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods.rb')
-rw-r--r--activerecord/lib/active_record/attribute_methods.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb
index 83fcefa64d..b7edac791e 100644
--- a/activerecord/lib/active_record/attribute_methods.rb
+++ b/activerecord/lib/active_record/attribute_methods.rb
@@ -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