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

ruby-changes:61019

From: Nobuyoshi <ko1@a...>
Date: Wed, 6 May 2020 09:58:15 +0900 (JST)
Subject: [ruby-changes:61019] 3a6dad9d8b (master): [DOC] Removed no longer meaningful part [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=3a6dad9d8b

From 3a6dad9d8bcd973fc05d19f70702cba486195bc0 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 6 May 2020 09:51:01 +0900
Subject: [DOC] Removed no longer meaningful part [ci skip]

As now `Object#===` document is separated from `rb_equal`, this note
no longer makes sense.

diff --git a/object.c b/object.c
index 30c3ba2..d3e100d 100644
--- a/object.c
+++ b/object.c
@@ -137,9 +137,6 @@ rb_obj_setup(VALUE obj, VALUE klass, VALUE type) https://github.com/ruby/ruby/blob/trunk/object.c#L137
  *  Case Equality -- For class Object, effectively the same as calling
  *  <code>#==</code>, but typically overridden by descendants to provide
  *  meaningful semantics in +case+ statements.
- *--
- * Same as \c Object#===, case equality.
- *++
  */
 #define case_equal rb_equal
     /* The default implementation of #=== is
-- 
cgit v0.10.2


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

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