29 Mar '12, 12pm

tb-0.5 を release した。http://t.co/Pvd9Leuf melt と unmelt を実装したのだが、unmelt では Enumerable#chunk がとてもうまく使えた。

tb is a manipulation tool for table: CSV, TSV, JSON, etc. tb provides a command and a library for manipulating tables: Unix filter like operations (grep, sort, cat, cut, ls, etc.), SQL like operations (join, group, etc.), other table operations (gsub, rename, cross, melt, unmelt, etc.), information extractions (git-log, svn-log, tar-tvf), and more.

Full article: http://rubygems.org/gems/tb


A use of Enumerable#chunk

blog.segment7.net 16 Mar '12, 11pm

drbrain | Fri, 16 Mar 2012 23:19:07 GMT Posted in Ruby In Ruby 1.9, Enumerable has a few new methods including Enumerable#...