Skip to content

Commit

Permalink
Fixing NoMatchingPatternError
Browse files Browse the repository at this point in the history
  • Loading branch information
deepaklakhera authored and deepaklakhera committed Jan 9, 2025
1 parent 0fd6c51 commit 0fb70ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rhykane/writer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def puts(*rows)
end

private

def row_to_csv(row)
return ::CSV::Row.new([], []) if row.nil?
case row
in **row
::CSV::Row.new(row.keys, row.values)
Expand Down

0 comments on commit 0fb70ad

Please sign in to comment.