Sha256: 3869e3ba36306b49b1a8d54674aaad3503e5cab00330c9d54df5b66e980d67fb

Contents?: true

Size: 244 Bytes

Versions: 2

Compression:

Stored size: 244 Bytes

Contents

module Mittsu
  class HashObject
    def initialize
      @_hash = {}
    end

    def [](key)
      @_hash[key]
    end

    def []=(key, value)
      @_hash[key] = value
    end

    def delete(key)
      @_hash.delete(key)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mittsu-0.1.1 lib/mittsu/core/hash_object.rb
mittsu-0.1.0 lib/mittsu/core/hash_object.rb