Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: CSV::Row.field -> CSV::Row#field #2905

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nissyi-gh
Copy link

@nissyi-gh nissyi-gh commented Aug 20, 2024

https://docs.ruby-lang.org/ja/latest/method/CSV=3a=3aRow/i/fields.html から、以下の CSV::Row.field のリンクを踏むと、404になります。

要素の探索に CSV::Row.field を使用しています。

Ruby 3.3.4で確認すると、undefined method field' for class CSV::Row (NoMethodError)`になりました。

正しくは、インスタンスメソッドであるため修正を提案します。

ref: https://github.com/ruby/csv/blob/ce9119802be7685ec93a68741a5d9da3dbe86122/lib/csv/row.rb#L545

undefined method `field' for class CSV::Row (NoMethodError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant