diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-27 10:45:24 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-27 10:45:24 +0000 |
commit | 45eaaad28141a7e7f9388ee1448ea571d4d1634e (patch) | |
tree | 4146c423ab0c55ed35d9d860e64d7e3a7e2a9efb /lib/rdoc/method_attr.rb | |
parent | b45ac5962d2810aa5d94b75df5ac31522cf691df (diff) | |
download | ruby-45eaaad28141a7e7f9388ee1448ea571d4d1634e.tar.gz |
Merge rdoc-6.0.0.beta4 from upstream.
It version applied `frozen_string_literal: true`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/method_attr.rb')
-rw-r--r-- | lib/rdoc/method_attr.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/method_attr.rb b/lib/rdoc/method_attr.rb index 50eab141be..3cef78c4a5 100644 --- a/lib/rdoc/method_attr.rb +++ b/lib/rdoc/method_attr.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Abstract class representing either a method or an attribute. @@ -188,7 +188,7 @@ class RDoc::MethodAttr < RDoc::CodeObject next if String === ancestor next if parent == ancestor - other = ancestor.find_method_named('#' << name) || + other = ancestor.find_method_named('#' + name) || ancestor.find_attribute_named(name) return other if other |