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

ruby-changes:53189

From: nobu <ko1@a...>
Date: Sun, 28 Oct 2018 10:58:32 +0900 (JST)
Subject: [ruby-changes:53189] nobu:r65404 (trunk): NEWS: codify keywords and callback methods [ci skip]

nobu	2018-10-28 10:58:27 +0900 (Sun, 28 Oct 2018)

  New Revision: 65404

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

  Log:
    NEWS: codify keywords and callback methods [ci skip]

  Modified files:
    trunk/NEWS
Index: NEWS
===================================================================
--- NEWS	(revision 65403)
+++ NEWS	(revision 65404)
@@ -66,13 +66,13 @@ sufficient information, see the ChangeLo https://github.com/ruby/ruby/blob/trunk/NEWS#L66
 
     * added Binding#source_location.  [Feature #14230]
 
-      This method returns the source location of binding, a 2-element
-      array of __FILE__ and __LINE__.  Traditionally, the same
-      information could be retrieved by <code>eval("[__FILE__, __LINE__]",
-      binding)</code>, but we are planning to change this behavior so that
-      Kernel#eval ignores binding's source location [Bug #4352].
-      So, users should use this newly-introduced method instead of
-      Kernel#eval.
+      This method returns the source location of the binding, a 2-element
+      array of <code>__FILE__</code> and <code>__LINE__</code>.
+      Traditionally, the same information could be retrieved by
+      <code>eval("[__FILE__, __LINE__]", binding)</code>, but we are
+      planning to change this behavior so that Kernel#eval ignores
+      binding's source location [Bug #4352].  So, users should use this
+      newly-introduced method instead of Kernel#eval.
 
 [Dir]
 
@@ -221,7 +221,7 @@ sufficient information, see the ChangeLo https://github.com/ruby/ruby/blob/trunk/NEWS#L221
 
   [Incompatible changes]
 
-    * Range#=== now uses #cover? instead of #include? method. [Feature #14575]
+    * Range#=== now uses +#cover?+ instead of +#include?+ method. [Feature #14575]
     * Range#cover? now accepts Range object. [Feature #14473]
     * Range#step now returns an instance of Enumerator::ArithmeticSequence
       class rather than one of Enumerator class.

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

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