From f58a491e970b6975b1df8b2fb40edc5cfa891b34 Mon Sep 17 00:00:00 2001 From: marcandre Date: Sun, 8 Nov 2009 17:46:39 +0000 Subject: * 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 --- NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'NEWS') 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) -- cgit v1.2.3