mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
No need for &block here.
This commit is contained in:
parent
58ad5e1859
commit
0c76eb1106
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue