summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-28 01:58:27 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-28 01:58:27 +0000
commit15533bb40a1fc9a939426ccae39bae1683506af2 (patch)
tree787fa14875ddcdb24c9f24f7dbb4803c78aec1ab /NEWS
parent8586f021f8db193b746079aff7ee50461957f39d (diff)
NEWS: codify keywords and callback methods [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS16
1 files changed, 8 insertions, 8 deletions
diff --git a/NEWS b/NEWS
index 6f17e227d7..722ef2520a 100644
--- a/NEWS
+++ b/NEWS
@@ -66,13 +66,13 @@ sufficient information, see the ChangeLog file or Redmine
* 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 ChangeLog file or Redmine
[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.