Method: Code::Type::Hash#initialize

Defined in:
lib/code/type/hash.rb

#initialize(hash) ⇒ Hash

Returns a new instance of Hash.



8
9
10
# File 'lib/code/type/hash.rb', line 8

def initialize(hash)
  @hash = hash.transform_keys { |key| Object::String.new(key) }
end