Skip to content

Commit

Permalink
apacheGH-37239: [Ruby] Updated documentation for ArrowTable#initializ…
Browse files Browse the repository at this point in the history
…e to clarify argument details (apache#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: apache#37239

Authored-by: otegami <a.s.takuya1026@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
otegami authored and loicalleyne committed Nov 13, 2023
1 parent 00c30d0 commit 0bf5f92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ruby/red-arrow/lib/arrow/table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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<Arrow::RecordBatch>] The data of the table.
# @param record_batches [::Array<Arrow::RecordBatch>] The data of the table.
#
# @example Create a table from schema and record batches
# count_field = Arrow::Field.new("count", :uint32)
Expand All @@ -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
Expand Down

0 comments on commit 0bf5f92

Please sign in to comment.