aboutsummaryrefslogtreecommitdiffstats
path: root/doc/NEWS-1.8.7
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-22 23:57:58 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-22 23:57:58 +0000
commit143a2f7ef1a16e22709af87a227e9a6323aefd84 (patch)
tree5a40a74b62ad45f5f7b80c4174a3e03ec283f95b /doc/NEWS-1.8.7
parentd52f95dc7ab85a9dbd0c56f034f383ed87201c8a (diff)
downloadruby-143a2f7ef1a16e22709af87a227e9a6323aefd84.tar.gz
* doc/NEWS-*: Update NEWS from their respective branches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/NEWS-1.8.7')
-rw-r--r--doc/NEWS-1.8.721
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/NEWS-1.8.7 b/doc/NEWS-1.8.7
index 91862e97ba..51fb5f1c6a 100644
--- a/doc/NEWS-1.8.7
+++ b/doc/NEWS-1.8.7
@@ -54,7 +54,7 @@ with all sufficient information, see the ChangeLog file.
* Array#flatten
* Array#flatten!
- Take an optional argument that determines the level of recursion
+ Takes an optional argument that determines the level of recursion
to flatten.
* Array#eql?
@@ -77,6 +77,7 @@ with all sufficient information, see the ChangeLog file.
* Array#reject
* Array#reject!
* Array#delete_if
+ * Array#select
Return an enumerator if no block is given.
@@ -161,6 +162,10 @@ with all sufficient information, see the ChangeLog file.
New alias to #inject.
+ * Enumerable#to_a
+
+ Can take optional arguments and pass them to #each.
+
* Hash#eql?
* Hash#hash
* Hash#==
@@ -262,12 +267,17 @@ with all sufficient information, see the ChangeLog file.
* Regexp.union accepts an array of patterns.
+ * String#bytes
+
+ New method
+
* String#bytesize
New method, returning the size in bytes. (alias length and size)
* String#chars
* String#each_char
+ * String#lines
* String#partition
* String#rpartition
* String#start_with?
@@ -501,6 +511,15 @@ with all sufficient information, see the ChangeLog file.
always use Date.strptime() when you know what you are dealing
with.
+* REXML
+
+ * REXML::Document.entity_expansion_limit=
+
+ New method to set the entity expansion limit. By default the limit is
+ set to 10000. See the following URL for details.
+
+ http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/
+
* stringio
* StringIO#each_byte