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

ruby-changes:63311

From: S.H <ko1@a...>
Date: Sat, 10 Oct 2020 17:52:48 +0900 (JST)
Subject: [ruby-changes:63311] 5e120a2389 (master): Improve doc in rb_class_real doc (#3637)

https://git.ruby-lang.org/ruby.git/commit/?id=5e120a2389

From 5e120a238904dd1d9e104b5b4cb97cae052c25c8 Mon Sep 17 00:00:00 2001
From: "S.H" <gamelinks007@g...>
Date: Sat, 10 Oct 2020 17:52:21 +0900
Subject: Improve doc in rb_class_real doc (#3637)


diff --git a/object.c b/object.c
index a7fb9dd..f03f3a7 100644
--- a/object.c
+++ b/object.c
@@ -279,7 +279,7 @@ rb_obj_not_equal(VALUE obj1, VALUE obj2) https://github.com/ruby/ruby/blob/trunk/object.c#L279
  * It returns the \a cl itself if it is neither a singleton class or a module.
  *
  * \param[in] cl a Class object.
- * \return the ancestor class found, or a falsey value if nothing found.
+ * \return the ancestor class found, or Qfalse if nothing found.
  */
 VALUE
 rb_class_real(VALUE cl)
-- 
cgit v0.10.2


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

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