22件ヒット
[1-22件を表示]
(0.040秒)
クラス
-
CSV
:: Row (11) -
CSV
:: Table (11)
検索結果
-
CSV
:: Table # empty? -> bool (21216.0) -
ヘッダーを除いて、データがないときに true を返します。
...ーを除いて、データがないときに true を返します。
Array#empty? に委譲しています。
//emlist[][ruby]{
require 'csv'
csv = CSV.new("a,b\n", headers: true)
table = csv.read
p table.empty? # => true
table << [1, 2]
p table.empty? # => false
//}
@see Array#empty?... -
CSV
:: Row # empty? -> bool (18204.0) -
内部で保持している @row へ委譲します。
内部で保持している @row へ委譲します。