mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
removing wtfalse
This commit is contained in:
parent
ee71a3fbfc
commit
cc12047372
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ module ActiveSupport #:nodoc:
|
|||
# Returns +true+ if _obj_ responds to the given method. Private methods are included in the search
|
||||
# only if the optional second parameter evaluates to +true+.
|
||||
def respond_to?(method, include_private=false)
|
||||
super || @wrapped_string.respond_to?(method, include_private) || false
|
||||
super || @wrapped_string.respond_to?(method, include_private)
|
||||
end
|
||||
|
||||
# Enable more predictable duck-typing on String-like classes. See Object#acts_like?.
|
||||
|
|
Loading…
Reference in a new issue