diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-10-22 13:37:51 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-10-22 13:37:51 -0700 |
commit | cc120473727f285867300ce8637e6e7b54b93e02 (patch) | |
tree | 92e6477247995661486b090b70a19810f4223feb /activesupport/lib/active_support/multibyte/chars.rb | |
parent | ee71a3fbfc6fb8112a58a8fcae31a1c2a423ef3f (diff) | |
download | rails-cc120473727f285867300ce8637e6e7b54b93e02.tar.gz rails-cc120473727f285867300ce8637e6e7b54b93e02.tar.bz2 rails-cc120473727f285867300ce8637e6e7b54b93e02.zip |
removing wtfalse
Diffstat (limited to 'activesupport/lib/active_support/multibyte/chars.rb')
-rw-r--r-- | activesupport/lib/active_support/multibyte/chars.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/multibyte/chars.rb b/activesupport/lib/active_support/multibyte/chars.rb index afbdd2c272..0820579bec 100644 --- a/activesupport/lib/active_support/multibyte/chars.rb +++ b/activesupport/lib/active_support/multibyte/chars.rb @@ -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?. |