aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-12 07:12:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-12 07:12:07 +0000
commit59633a68ef2d53cca9dc59f6b15788c161e2fb9e (patch)
tree732dff2ce274a9300be46b73d819b1d1e578b9cd
parentd9f5c08d915b413745e4ef519c81f3c3fe6cbf14 (diff)
downloadruby-59633a68ef2d53cca9dc59f6b15788c161e2fb9e.tar.gz
string.c: fix method name in rdoc [ci skip]
* string.c (rb_str_equal): [DOC] fix fallback method name. the peer's == method will be used, not ===. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 97c3e2527b..8515773a84 100644
--- a/string.c
+++ b/string.c
@@ -3046,7 +3046,7 @@ str_eql(const VALUE str1, const VALUE str2)
* Returns whether +str+ == +obj+, similar to Object#==.
*
* If +obj+ is not an instance of String but responds to +to_str+, then the
- * two strings are compared using case equality Object#===.
+ * two strings are compared using <code>obj.==</code>.
*
* Otherwise, returns similarly to String#eql?, comparing length and content.
*/