ruby-changes:62291
From: Burdette <ko1@a...>
Date: Mon, 20 Jul 2020 03:35:41 +0900 (JST)
Subject: [ruby-changes:62291] 1ac702cd29 (master): [ruby/csv] Add RDoc links for delegated methods (#135)
https://git.ruby-lang.org/ruby.git/commit/?id=1ac702cd29 From 1ac702cd29786085d5bfe618eef9e9d9817e76f3 Mon Sep 17 00:00:00 2001 From: Burdette Lamar <BurdetteLamar@Y...> Date: Tue, 9 Jun 2020 18:28:35 -0500 Subject: [ruby/csv] Add RDoc links for delegated methods (#135) https://github.com/ruby/csv/commit/1a4b96b418 diff --git a/lib/csv.rb b/lib/csv.rb index 285f719..32e57ea 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -989,40 +989,41 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L989 # <tt>"rb:UTF-32BE:UTF-8"</tt> would read UTF-32BE data from the file but # transcode it to UTF-8 before CSV parses it. # - # An opened CSV object will delegate to many IO methods for convenience. You - # may call: - # - # * binmode() - # * binmode?() - # * close() - # * close_read() - # * close_write() - # * closed?() - # * eof() - # * eof?() - # * external_encoding() - # * fcntl() - # * fileno() - # * flock() - # * flush() - # * fsync() - # * internal_encoding() - # * ioctl() - # * isatty() - # * path() - # * pid() - # * pos() - # * pos=() - # * reopen() - # * seek() - # * stat() - # * sync() - # * sync=() - # * tell() - # * to_i() - # * to_io() - # * truncate() - # * tty?() + # For convenience, an opened CSV object will delegate to many methods in class IO. + # (A few have wrapper "guard code" in \CSV.) You may call: + # * IO#binmode + # * #binmode? + # * IO#close + # * IO#close_read + # * IO#close_write + # * IO#closed? + # * #eof + # * #eof? + # * IO#external_encoding + # * IO#fcntl + # * IO#fileno + # * #flock + # * IO#flush + # * IO#fsync + # * IO#internal_encoding + # * #ioctl + # * IO#isatty + # * #path + # * IO#pid + # * IO#pos + # * IO#pos= + # * IO#reopen + # * #rewind + # * IO#seek + # * #stat + # * IO#string + # * IO#sync + # * IO#sync= + # * IO#tell + # * #to_i + # * #to_io + # * IO#truncate + # * IO#tty? # def open(filename, mode="r", **options) # wrap a File opened with the remaining +args+ with no newline -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/