From c95388a58dd087b923d85a2bcfb47e0349827e98 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 12 Dec 2016 07:12:07 +0000 Subject: 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 --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') 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 obj.==. * * Otherwise, returns similarly to String#eql?, comparing length and content. */ -- cgit v1.2.3