Skip to content

Commit 1a4b96b

Browse files
Add RDoc links for delegated methods (#135)
1 parent 5bf6873 commit 1a4b96b

File tree

1 file changed

+35
-34
lines changed

1 file changed

+35
-34
lines changed

lib/csv.rb

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -989,40 +989,41 @@ def generate_line(row, **options)
989989
# <tt>"rb:UTF-32BE:UTF-8"</tt> would read UTF-32BE data from the file but
990990
# transcode it to UTF-8 before CSV parses it.
991991
#
992-
# An opened CSV object will delegate to many IO methods for convenience. You
993-
# may call:
994-
#
995-
# * binmode()
996-
# * binmode?()
997-
# * close()
998-
# * close_read()
999-
# * close_write()
1000-
# * closed?()
1001-
# * eof()
1002-
# * eof?()
1003-
# * external_encoding()
1004-
# * fcntl()
1005-
# * fileno()
1006-
# * flock()
1007-
# * flush()
1008-
# * fsync()
1009-
# * internal_encoding()
1010-
# * ioctl()
1011-
# * isatty()
1012-
# * path()
1013-
# * pid()
1014-
# * pos()
1015-
# * pos=()
1016-
# * reopen()
1017-
# * seek()
1018-
# * stat()
1019-
# * sync()
1020-
# * sync=()
1021-
# * tell()
1022-
# * to_i()
1023-
# * to_io()
1024-
# * truncate()
1025-
# * tty?()
992+
# For convenience, an opened CSV object will delegate to many methods in class IO.
993+
# (A few have wrapper "guard code" in \CSV.) You may call:
994+
# * IO#binmode
995+
# * #binmode?
996+
# * IO#close
997+
# * IO#close_read
998+
# * IO#close_write
999+
# * IO#closed?
1000+
# * #eof
1001+
# * #eof?
1002+
# * IO#external_encoding
1003+
# * IO#fcntl
1004+
# * IO#fileno
1005+
# * #flock
1006+
# * IO#flush
1007+
# * IO#fsync
1008+
# * IO#internal_encoding
1009+
# * #ioctl
1010+
# * IO#isatty
1011+
# * #path
1012+
# * IO#pid
1013+
# * IO#pos
1014+
# * IO#pos=
1015+
# * IO#reopen
1016+
# * #rewind
1017+
# * IO#seek
1018+
# * #stat
1019+
# * IO#string
1020+
# * IO#sync
1021+
# * IO#sync=
1022+
# * IO#tell
1023+
# * #to_i
1024+
# * #to_io
1025+
# * IO#truncate
1026+
# * IO#tty?
10261027
#
10271028
def open(filename, mode="r", **options)
10281029
# wrap a File opened with the remaining +args+ with no newline

0 commit comments

Comments
 (0)