summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-22 04:13:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-22 04:13:02 +0000
commit5fe33f07d4127092a9fe5afb9b48a28e4f1d5f0b (patch)
tree7156b4c0af91fa17e251834cc22e75acc3d17613
parenta1fb880f1772f4a70dcd01e36ee0f150936f5fbe (diff)
NEWS: adjust layout [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--NEWS19
1 files changed, 15 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 27f181a8c8..817be3df43 100644
--- a/NEWS
+++ b/NEWS
@@ -22,18 +22,29 @@ with all sufficient information, see the ChangeLog file or Redmine
* Binding
- * 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 `eval("[__FILE__, __LINE__]", binding)`, 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`.
+ * New methods:
+
+ * 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 `eval("[__FILE__, __LINE__]",
+ binding)`, 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
* New methods:
- * added Dir#each_child and Dir#children instance methods. [Feature #13969]
+ * added Dir#each_child and Dir#children instance methods.
+ [Feature #13969]
* Kernel
- * Kernel.#system takes :exception option to raise an exception on failure. [Feature #14386]
+ * Kernel.#system takes :exception option to raise an exception on
+ failure. [Feature #14386]
* KeyError