class Twoffein::Util

Public Class Methods

compact!(hash) click to toggle source
# File lib/twoffein-client/util.rb, line 3
def self.compact!(hash)
  hash.reject! { |k,v| v.nil? || v.empty? }
end