ruby-changes:62333
From: Sutou <ko1@a...>
Date: Tue, 21 Jul 2020 09:18:35 +0900 (JST)
Subject: [ruby-changes:62333] c6f389d84e (master): [ruby/csv] Move doc/* to doc/csv/* to work in ruby/ruby too
https://git.ruby-lang.org/ruby.git/commit/?id=c6f389d84e From c6f389d84e0f0df535579fb0d378c04fae2c4614 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei <kou@c...> Date: Mon, 20 Jul 2020 16:02:47 +0900 Subject: [ruby/csv] Move doc/* to doc/csv/* to work in ruby/ruby too https://github.com/ruby/csv/commit/910f8e0c5d diff --git a/lib/csv.rb b/lib/csv.rb index c1654ab..10d4e9f 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -357,35 +357,35 @@ using CSV::MatchP if CSV.const_defined?(:MatchP) https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L357 # - +nil_value+: Specifies the object that is to be substituted for each null (no-text) field. # - +empty_value+: Specifies the object that is to be substituted for each empty field. # -# :include: ../doc/options/common/row_sep.rdoc +# :include: ../doc/csv/options/common/row_sep.rdoc # -# :include: ../doc/options/common/col_sep.rdoc +# :include: ../doc/csv/options/common/col_sep.rdoc # -# :include: ../doc/options/common/quote_char.rdoc +# :include: ../doc/csv/options/common/quote_char.rdoc # -# :include: ../doc/options/parsing/field_size_limit.rdoc +# :include: ../doc/csv/options/parsing/field_size_limit.rdoc # -# :include: ../doc/options/parsing/converters.rdoc +# :include: ../doc/csv/options/parsing/converters.rdoc # -# :include: ../doc/options/parsing/unconverted_fields.rdoc +# :include: ../doc/csv/options/parsing/unconverted_fields.rdoc # -# :include: ../doc/options/parsing/headers.rdoc +# :include: ../doc/csv/options/parsing/headers.rdoc # -# :include: ../doc/options/parsing/return_headers.rdoc +# :include: ../doc/csv/options/parsing/return_headers.rdoc # -# :include: ../doc/options/parsing/header_converters.rdoc +# :include: ../doc/csv/options/parsing/header_converters.rdoc # -# :include: ../doc/options/parsing/skip_blanks.rdoc +# :include: ../doc/csv/options/parsing/skip_blanks.rdoc # -# :include: ../doc/options/parsing/skip_lines.rdoc +# :include: ../doc/csv/options/parsing/skip_lines.rdoc # -# :include: ../doc/options/parsing/strip.rdoc +# :include: ../doc/csv/options/parsing/strip.rdoc # -# :include: ../doc/options/parsing/liberal_parsing.rdoc +# :include: ../doc/csv/options/parsing/liberal_parsing.rdoc # -# :include: ../doc/options/parsing/nil_value.rdoc +# :include: ../doc/csv/options/parsing/nil_value.rdoc # -# :include: ../doc/options/parsing/empty_value.rdoc +# :include: ../doc/csv/options/parsing/empty_value.rdoc # # ==== Options for Generating # @@ -400,23 +400,23 @@ using CSV::MatchP if CSV.const_defined?(:MatchP) https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L400 # - +write_nil_value+: Specifies the object that is to be substituted for each +nil+-valued field. # - +write_empty_value+: Specifies the object that is to be substituted for each empty field. # -# :include: ../doc/options/common/row_sep.rdoc +# :include: ../doc/csv/options/common/row_sep.rdoc # -# :include: ../doc/options/common/col_sep.rdoc +# :include: ../doc/csv/options/common/col_sep.rdoc # -# :include: ../doc/options/common/quote_char.rdoc +# :include: ../doc/csv/options/common/quote_char.rdoc # -# :include: ../doc/options/generating/write_headers.rdoc +# :include: ../doc/csv/options/generating/write_headers.rdoc # -# :include: ../doc/options/generating/force_quotes.rdoc +# :include: ../doc/csv/options/generating/force_quotes.rdoc # -# :include: ../doc/options/generating/quote_empty.rdoc +# :include: ../doc/csv/options/generating/quote_empty.rdoc # -# :include: ../doc/options/generating/write_converters.rdoc +# :include: ../doc/csv/options/generating/write_converters.rdoc # -# :include: ../doc/options/generating/write_nil_value.rdoc +# :include: ../doc/csv/options/generating/write_nil_value.rdoc # -# :include: ../doc/options/generating/write_empty_value.rdoc +# :include: ../doc/csv/options/generating/write_empty_value.rdoc # # === \CSV with Headers # @@ -1075,7 +1075,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L1075 # Calls the block with each row read from source +path+ or +io+. # # * Argument +path+, if given, must be the path to a file. - # :include: ../doc/arguments/io.rdoc + # :include: ../doc/csv/arguments/io.rdoc # * Argument +mode+, if given, must be a \File mode # See {Open Mode}[IO.html#method-c-new-label-Open+Mode]. # * Arguments <tt>**options</tt> must be keyword options. @@ -1322,7 +1322,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L1322 # :replace => string # replacement string ("?" or "\uFFFD" if not specified) # # * Argument +path+, if given, must be the path to a file. - # :include: ../doc/arguments/io.rdoc + # :include: ../doc/csv/arguments/io.rdoc # * Argument +mode+, if given, must be a \File mode # See {Open Mode}[IO.html#method-c-new-label-Open+Mode]. # * Arguments <tt>**options</tt> must be keyword options. @@ -1427,7 +1427,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L1427 # # - Argument +string+ should be a \String object; # it will be put into a new StringIO object positioned at the beginning. - # :include: ../doc/arguments/io.rdoc + # :include: ../doc/csv/arguments/io.rdoc # - Argument +options+: see {Options for Parsing}[#class-CSV-label-Options+for+Parsing] # # ====== Without Option +headers+ @@ -1552,7 +1552,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L1552 # # - Argument +string+ should be a \String object; # it will be put into a new StringIO object positioned at the beginning. - # :include: ../doc/arguments/io.rdoc + # :include: ../doc/csv/arguments/io.rdoc # - Argument +options+: see {Options for Parsing}[#class-CSV-label-Options+for+Parsing] # # ====== Without Option +headers+ @@ -1672,7 +1672,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L1672 # # - Argument +string+ should be a \String object; # it will be put into a new StringIO object positioned at the beginning. - # :include: ../doc/arguments/io.rdoc + # :include: ../doc/csv/arguments/io.rdoc # - Argument +options+: See: # * {Options for Parsing}[#class-CSV-label-Options+for+Parsing] # * {Options for Generating}[#class-CSV-label-Options+for+Generating] -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/