diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-08 17:46:39 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-08 17:46:39 +0000 |
commit | f58a491e970b6975b1df8b2fb40edc5cfa891b34 (patch) | |
tree | c2a192f3ebc1c67f0965acd08a78143d2657fc5e /NEWS | |
parent | e2bc9db763f34fe935909891d4131c9bd32cac91 (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-- | NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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) |