module ENV
Public Class Methods
except(*keys)
click to toggle source
# File lib/backports/3.0.0/env/except.rb, line 2 def except(*keys) if keys.size > 4 && size > 4 # index if O(m*n) is big h = {} keys.each { |key| h[key] = true } keys = h end reject { |key, _value| keys.include? key} end