aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-04-29 20:15:19 +0200
committerJosé Valim <jose.valim@gmail.com>2011-04-29 20:30:21 +0200
commit0c76eb1106dc82bb0e3cc50498383d6f992da4fb (patch)
tree553d5f2e982e3eb57bdf6b2a9dc848c0d7de37ae /activesupport/lib
parent58ad5e1859caa5e384cc3df2360efc3cfd66c48b (diff)
downloadrails-0c76eb1106dc82bb0e3cc50498383d6f992da4fb.tar.gz
rails-0c76eb1106dc82bb0e3cc50498383d6f992da4fb.tar.bz2
rails-0c76eb1106dc82bb0e3cc50498383d6f992da4fb.zip
No need for &block here.
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/whiny_nil.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/whiny_nil.rb b/activesupport/lib/active_support/whiny_nil.rb
index bcedbfd57a..577db5018e 100644
--- a/activesupport/lib/active_support/whiny_nil.rb
+++ b/activesupport/lib/active_support/whiny_nil.rb
@@ -41,7 +41,7 @@ class NilClass
end
private
- def method_missing(method, *args, &block)
+ def method_missing(method, *args)
if klass = METHOD_CLASS_MAP[method]
raise_nil_warning_for klass, method, caller
else