module SmartHR::Converter
Public Instance Methods
hash_compact(hash)
click to toggle source
# File lib/smarthr/converter.rb, line 3 def hash_compact(hash) hash.reject { |_k, v| v.nil? } end
# File lib/smarthr/converter.rb, line 3 def hash_compact(hash) hash.reject { |_k, v| v.nil? } end