string.c: [DOC] fix doc formatting for String#==, #===
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b637593ae7
commit
3ca1cbecc6
4
string.c
4
string.c
@ -3116,9 +3116,7 @@ str_eql(const VALUE str1, const VALUE str2)
|
||||
* str == obj -> true or false
|
||||
* str === obj -> true or false
|
||||
*
|
||||
* === Equality
|
||||
*
|
||||
* Returns whether +str+ == +obj+, similar to Object#==.
|
||||
* Equality---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 <code>obj.==</code>.
|
||||
|
Loading…
x
Reference in New Issue
Block a user