誰か、以下の間違いを文書係に伝えてください!
漏れは、やり方がわからないので
class CSV::Row - Ruby 3.3
https://docs.ruby-lang.org/ja/latest/class/CSV=3a=3aRow.html
field, delete の引数は、
header_or_index, minimum_index = 0
なのに、
self[header_or_index] = value
self[header, offset] = value
の引数は、なぜ2つに分けたのか?
self[header_or_index, minimum_index = 0] = value
と書けば良かったのでは?
それと、
self[header, offset] = value
のコード例が、
self[header_or_index] = value
の所に書いてあるのも間違い
それと、
fields(*headers_and_or_indices) -> Array
push(*args) -> self
のコード例に、Copy ボタンが無い
Ruby 初心者スレッド Part 67
707デフォルトの名無しさん (ワッチョイ 093a-hIEc)
2024/08/17(土) 08:14:57.02ID:9Uz9N2V10レスを投稿する