From b23eac6958ee2792d6fe60a31e8c636363e184d9 Mon Sep 17 00:00:00 2001 From: kou Date: Tue, 6 Dec 2016 13:57:56 +0000 Subject: rexml: REXML::Element#[] accepts String or Symbol as attribute name git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 8456189a28..eee221e374 100644 --- a/NEWS +++ b/NEWS @@ -251,6 +251,12 @@ with all sufficient information, see the ChangeLog file or Redmine * Readline.quoting_detection_proc and Readline.quoting_detection_proc= [Feature #12659] +* REXML + + * REXML::Element#[]: If String or Symbol is specified, attribute + value is returned. Otherwise, Nth child is returned. This is + backward compatible change. + * set * New methods: Set#compare_by_identity and Set#compare_by_identity?. -- cgit v1.2.3