summaryrefslogtreecommitdiff
path: root/doc/NEWS-1.8.7
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-22 23:59:29 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-22 23:59:29 +0000
commitc12f69cbb6d8111d4ad0bb5bf70eb709ebb12c0a (patch)
tree2557a5e0f688d2e0f6e83dc249b92fcca31011f7 /doc/NEWS-1.8.7
parent7c8a4774168d5d31b59d2b3a7aa1a0e2c8227041 (diff)
* backport r39410 from trunk
* doc/NEWS-*: Update NEWS from their respective branches git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39411 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