From 0bf5f928abce3c912e353871e671363eabac8847 Mon Sep 17 00:00:00 2001 From: takuya kodama Date: Mon, 21 Aug 2023 04:54:10 +0800 Subject: [PATCH] GH-37239: [Ruby] Updated documentation for ArrowTable#initialize to clarify argument details (#37261) ### What changes are included in this PR? Fixed the documentation for ArrowTable#initialize about the followings - initialize(schema, record_batches) - initialize(schema, raw_records) * Closes: #37239 Authored-by: otegami Signed-off-by: Sutou Kouhei --- ruby/red-arrow/lib/arrow/table.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruby/red-arrow/lib/arrow/table.rb b/ruby/red-arrow/lib/arrow/table.rb index da79e94b18052..0ce5962fce6e9 100644 --- a/ruby/red-arrow/lib/arrow/table.rb +++ b/ruby/red-arrow/lib/arrow/table.rb @@ -127,7 +127,7 @@ def load(path, options={}) # You can also specify schema as primitive Ruby objects. # See {Arrow::Schema#initialize} for details. # - # @param arrays [::Array] The data of the table. + # @param record_batches [::Array] The data of the table. # # @example Create a table from schema and record batches # count_field = Arrow::Field.new("count", :uint32) @@ -145,7 +145,7 @@ def load(path, options={}) # You can also specify schema as primitive Ruby objects. # See {Arrow::Schema#initialize} for details. # - # @param arrays [::Array<::Array>] The data of the table as primitive + # @param raw_records [::Array<::Array>] The data of the table as primitive # Ruby objects. # # @example Create a table from schema and raw records