Skip to content

Commit

Permalink
fix error with Ruby 2.7.8
Browse files Browse the repository at this point in the history
  • Loading branch information
suketa committed Sep 29, 2023
1 parent 5049904 commit 4831e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/duckdb/result.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def each

chunk_each { |row| yield row }
else
warn('this `each` behavior will be deprecated in the future. set `Result.use_chunk_each = true` to use new `each` behavior.', category: :deprecated)
warn('this `each` behavior will be deprecated in the future. set `Result.use_chunk_each = true` to use new `each` behavior.')
return to_enum { row_size } unless block_given?

row_count.times do |row_index|
Expand Down

0 comments on commit 4831e14

Please sign in to comment.