Skip to content

Commit

Permalink
Adjust style
Browse files Browse the repository at this point in the history
  • Loading branch information
kou authored Aug 5, 2024
1 parent 3f94fb4 commit 5bab5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/csv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1925,7 +1925,7 @@ def may_enable_bom_detection_automatically(filename_or_io,

if RUBY_VERSION < "2.7"
def create_stringio(str, mode, opts)
opts.delete_if { |k, _| k == :universal_newline or DEFAULT_OPTIONS.key?(k) }
opts.delete_if {|k, _| k == :universal_newline or DEFAULT_OPTIONS.key?(k)}
raise ArgumentError, "Unsupported options parsing StringIO: #{opts.keys}" unless opts.empty?
StringIO.new(str, mode)
end
Expand Down

0 comments on commit 5bab5e2

Please sign in to comment.