summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-08 17:46:39 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-08 17:46:39 +0000
commitf58a491e970b6975b1df8b2fb40edc5cfa891b34 (patch)
treec2a192f3ebc1c67f0965acd08a78143d2657fc5e /NEWS
parente2bc9db763f34fe935909891d4131c9bd32cac91 (diff)
* NEWS: added String#bytes and Enumerable#to_a
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 965ce6de5a..4c0aa5339e 100644
--- a/NEWS
+++ b/NEWS
@@ -162,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#==
@@ -263,6 +267,10 @@ 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)