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

ruby-changes:64715

From: Marc-Andre <ko1@a...>
Date: Sun, 3 Jan 2021 11:56:15 +0900 (JST)
Subject: [ruby-changes:64715] a495cb2fd5 (master): NEWS-3.0.0: backquote a few code related words. [doc]

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

From a495cb2fd55688699e80078efa01c79313ae32e9 Mon Sep 17 00:00:00 2001
From: Marc-Andre Lafortune <github@m...>
Date: Tue, 22 Dec 2020 19:22:50 -0500
Subject: NEWS-3.0.0: backquote a few code related words. [doc]


diff --git a/doc/NEWS-3.0.0.md b/doc/NEWS-3.0.0.md
index a39e466..6ec5a09 100644
--- a/doc/NEWS-3.0.0.md
+++ b/doc/NEWS-3.0.0.md
@@ -100,8 +100,8 @@ Note that each entry is kept to a minimum, see links for details. https://github.com/ruby/ruby/blob/trunk/doc/NEWS-3.0.0.md#L100
   Turn them on with `-W:deprecated` (or with `-w` to show other warnings too).
   [[Feature #16345]]
 
-* $SAFE and $KCODE are now normal global variables with no special behavior.
-  C-API methods related to $SAFE have been removed.
+* `$SAFE` and `$KCODE` are now normal global variables with no special behavior.
+  C-API methods related to `$SAFE` have been removed.
   [[Feature #16131]] [[Feature #17136]]
 
 * yield in singleton class definitions in methods is now a SyntaxError
@@ -161,8 +161,8 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/doc/NEWS-3.0.0.md#L161
 
 * Binding
 
-    * Binding#eval when called with one argument will use "(eval)"
-      for `__FILE__` and 1 for `__LINE__` in the evaluated code.
+    * Binding#eval when called with one argument will use `"(eval)"`
+      for `__FILE__` and `1` for `__LINE__` in the evaluated code.
       [[Bug #4352]] [[Bug #17419]]
 
 * ConditionVariable
@@ -205,7 +205,7 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/doc/NEWS-3.0.0.md#L205
 * GC
 
     * GC.auto_compact= and GC.auto_compact have been added to control
-      when compaction runs.  Setting `auto_compact=` to true will cause
+      when compaction runs.  Setting `auto_compact=` to `true` will cause
       compaction to occur during major collections.  At the moment,
       compaction adds significant overhead to major collections, so please
       test first!  [[Feature #17176]]
@@ -238,8 +238,8 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/doc/NEWS-3.0.0.md#L238
       return a frozen copy even if the receiver is unfrozen.
       [[Feature #16175]]
 
-    * Kernel#eval when called with two arguments will use "(eval)"
-      for `__FILE__` and 1 for `__LINE__` in the evaluated code.
+    * Kernel#eval when called with two arguments will use `"(eval)"`
+      for `__FILE__` and `1` for `__LINE__` in the evaluated code.
       [[Bug #4352]]
 
     * Kernel#lambda now warns if called without a literal block.
@@ -604,7 +604,7 @@ Excluding feature bug fixes. https://github.com/ruby/ruby/blob/trunk/doc/NEWS-3.0.0.md#L604
 
 ## C API updates
 
-* C API functions related to $SAFE have been removed.
+* C API functions related to `$SAFE` have been removed.
   [[Feature #16131]]
 
 * C API header file `ruby/ruby.h` was split. [[GH-2991]]
-- 
cgit v0.10.2


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

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