diff options
Diffstat (limited to 'lib/csv/core_ext')
-rw-r--r-- | lib/csv/core_ext/array.rb | 2 | ||||
-rw-r--r-- | lib/csv/core_ext/string.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/csv/core_ext/array.rb b/lib/csv/core_ext/array.rb index 94df7d5c35..8beb06b082 100644 --- a/lib/csv/core_ext/array.rb +++ b/lib/csv/core_ext/array.rb @@ -4,6 +4,6 @@ class Array # :nodoc: # ["CSV", "data"].to_csv # #=> "CSV,data\n" def to_csv(**options) - CSV.generate_line(self, options) + CSV.generate_line(self, **options) end end diff --git a/lib/csv/core_ext/string.rb b/lib/csv/core_ext/string.rb index 8f2070f3bd..9b1d31c2a4 100644 --- a/lib/csv/core_ext/string.rb +++ b/lib/csv/core_ext/string.rb @@ -4,6 +4,6 @@ class String # :nodoc: # "CSV,data".parse_csv # #=> ["CSV", "data"] def parse_csv(**options) - CSV.parse_line(self, options) + CSV.parse_line(self, **options) end end |