Sha256: ad9d68bf4d1f135f0c4dfbb2ca70d9a1d7ca8b7feb5a220f13011e2890b83dd9

Contents?: true

Size: 191 Bytes

Versions: 1

Compression:

Stored size: 191 Bytes

Contents

module Redbreast
    module Helper
        module HashHelper
            def compact(dictionary)
                dictionary.delete_if { |k, v| v.nil? }
            end
        end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redbreast-0.1.2 lib/redbreast/helpers/hash.rb