[前][次][番号順一覧][スレッド一覧]

ruby-changes:45705

From: stomar <ko1@a...>
Date: Sun, 5 Mar 2017 05:08:10 +0900 (JST)
Subject: [ruby-changes:45705] stomar:r57778 (trunk): string.c: [DOC] fix doc formatting for String#==, #===

stomar	2017-03-05 05:08:04 +0900 (Sun, 05 Mar 2017)

  New Revision: 57778

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57778

  Log:
    string.c: [DOC] fix doc formatting for String#==, #===

  Modified files:
    trunk/string.c
Index: string.c
===================================================================
--- string.c	(revision 57777)
+++ string.c	(revision 57778)
@@ -3116,9 +3116,7 @@ str_eql(const VALUE str1, const VALUE st https://github.com/ruby/ruby/blob/trunk/string.c#L3116
  *     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>.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]