Skip to content

Commit

Permalink
make matrix_match? work on older rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Aug 18, 2019
1 parent 1247248 commit 36d3561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wwtd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def matrix(config)
end

def matrix_match?(cell, exclude)
cell.slice(*exclude.keys) == exclude
cell.values_at(*exclude.keys) == exclude.values
end

def with_clean_env(&block)
Expand Down

0 comments on commit 36d3561

Please sign in to comment.