11件ヒット
[1-11件を表示]
(0.031秒)
ライブラリ
- csv (11)
クラス
-
CSV
:: Table (11)
検索結果
-
CSV
:: Table # by _ row! -> self (18208.0) -
自身をロウモードに変更します。
...eader1", "header2"], ["row2_1", "row2_2"])
table = CSV::Table.new([row1, row2])
table # => #<CSV::Table mode:col_or_row row_count:3>
table.by_row!
table # => #<CSV::Table mode:row row_count:3>
table[0] # => #<CSV::Row "header1":"row1_1" "header2":"row1_2">
table[1] # => #<CSV::Row "h...