Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > csvライブラリ > CSV::Tableクラス > delete_if

instance method CSV::Table#delete_if

delete_if { ... } -> self

Removes any column or row for which the block returns +true+. In the default mixed mode or row mode, iteration is the standard row major walking of rows. In column mode, interation will +yield+ two element tuples containing the column name and an Array of values for that column.

This method returns the table for chaining.