summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-09-04 22:18:59 +0900
committerGitHub <noreply@github.com>2020-09-04 22:18:59 +0900
commiteb67c603ca7e435181684857e650b4633fda5bb6 (patch)
tree2a7079315d7143010d9f561a2bb322f6378a96e9 /NEWS.md
parentd7406ccc2c99009cc2af56d5b01c411f8bb673f6 (diff)
Added Symbol#name
https://bugs.ruby-lang.org/issues/16150#change-87446
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3514 Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 1bc19e83e1..4b4d13a0c6 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -165,6 +165,12 @@ Outstanding ones only.
* Symbol#to_proc now returns a lambda Proc.
[[Feature #16260]]
+ * New method
+
+ * Symbol#name, which returns the name of the symbol if it is
+ named. The returned string cannot be modified.
+ [[Feature #16150]]
+
* Warning
* Modified method
@@ -343,6 +349,7 @@ Excluding feature bug fixes.
[Feature #16378]: https://bugs.ruby-lang.org/issues/16378
[Feature #16828]: https://bugs.ruby-lang.org/issues/16828
[Bug #14541]: https://bugs.ruby-lang.org/issues/14541
+[Feature #16150]: https://bugs.ruby-lang.org/issues/16150
[Feature #16175]: https://bugs.ruby-lang.org/issues/16175
[Feature #15973]: https://bugs.ruby-lang.org/issues/15973
[Feature #16614]: https://bugs.ruby-lang.org/issues/16614