diff options
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -17,10 +17,6 @@ with all sufficient information, see the ChangeLog file. * builtin classes - * Array#nitems now takes a block optionally, which is used to - determine if each element should be counted instead of checking if - the element is non-nil. - * Array#flatten * Array#flatten! @@ -87,9 +83,7 @@ with all sufficient information, see the ChangeLog file. New class for various enumeration defined by the enumerator library. * Enumerable#each_slice - * Enumerable#enum_slice * Enumerable#each_cons - * Enumerable#enum_cons * Object#to_enum * Object#enum_for @@ -187,6 +181,8 @@ with all sufficient information, see the ChangeLog file. * Method#receiver * Method#name * Method#owner + * UnboundMethod#name + * UnboundMethod#owner New methods. @@ -209,6 +205,10 @@ with all sufficient information, see the ChangeLog file. * Regexp.union accepts an array of patterns. + * String#bytesize + + New method, returning the size in bytes. (alias length and size) + * String#chars * String#each_char * String#partition |