Skip to content

Commit 1ef25f9

Browse files
authored
Fix typo in documentation: use lineno instead of line_no (#350)
Found a typo in the documentation where it says `csv.line_no`. The correct method is `csv.lineno`. This PR fixes it.
1 parent 4a70610 commit 1ef25f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/csv.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2327,7 +2327,7 @@ def liberal_parsing?
23272327
attr_reader :encoding
23282328

23292329
# :call-seq:
2330-
# csv.line_no -> integer
2330+
# csv.lineno -> integer
23312331
#
23322332
# Returns the count of the rows parsed or generated.
23332333
#

0 commit comments

Comments
 (0)