Sha256: a4878bc0742e18badd4e413f5e56e70f1b087333d71b7923feb63e970e51774a

Contents?: true

Size: 617 Bytes

Versions: 2

Compression:

Stored size: 617 Bytes

Contents

module Parametric
  module Hash

    def self.included(base)
      base.send(:include, Params)
      base.send(:include, Enumerable)
      base.extend Forwardable
      base.send(:def_delegators, :params,
        :[],
        :[]=,
        :each,
        :each_value,
        :each_key,
        :each_pair,
        :keys,
        :values,
        :values_at,
        :fetch,
        :size,
        :to_hash,
        :merge,
        :merge!,
        :replace,
        :update,
        :has_key?,
        :key?,
        :key,
        :select,
        :select!,
        :delete,
        :store
      )
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
parametric-0.0.2 lib/parametric/hash.rb
parametric-0.0.1 lib/parametric/hash.rb