Skip to content

Commit

Permalink
removed unused Hash additional methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Mar 8, 2021
1 parent 24ab5c6 commit 3eac56b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/mock_helpers/view.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,3 @@ def pagy_get_params(params)
end
end
end


class Hash
def except!(*keys)
keys.each { |key| delete(key) }
self
end

def except(*keys)
dup.except!(*keys)
end
end

0 comments on commit 3eac56b

Please sign in to comment.