Fix grammar/style: use (v) fall back (on).
[ci skip]
This commit is contained in:
parent
37349f71ad
commit
ed6de3afcc
@ -363,7 +363,7 @@ def attribute_method_matchers_matching(method_name) #:nodoc:
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Define a method `name` in `mod` that dispatches to `send`
|
# Define a method `name` in `mod` that dispatches to `send`
|
||||||
# using the given `extra` args. This fallbacks `define_method`
|
# using the given `extra` args. This falls back on `define_method`
|
||||||
# and `send` if the given names cannot be compiled.
|
# and `send` if the given names cannot be compiled.
|
||||||
def define_proxy_call(include_private, mod, name, send, *extra) #:nodoc:
|
def define_proxy_call(include_private, mod, name, send, *extra) #:nodoc:
|
||||||
defn = if name =~ NAME_COMPILABLE_REGEXP
|
defn = if name =~ NAME_COMPILABLE_REGEXP
|
||||||
|
Loading…
Reference in New Issue
Block a user