Exploring Latest ruby-lib Additions
Recently I was browsing through the NEWS file in the Ruby Subversion repository. Two methods added since the 1.9.1 release to the Enumerable module caught my attention. These two are Enumerable#chunk and Enumerable#slice_before.
The docs for these are not available at http://ruby-doc.org/ so you’d need to go straight to the source code (by using the links [...]
Tagged mysql, rails, ruby