Class: Rusty::DX::Dict

Inherits:
Hash
  • Object
show all
Defined in:
lib/rusty/dx.rb

Overview

The hash storage implementation.

Defined Under Namespace

Modules: Delegator

Constant Summary collapse

DELEGATE_METHODS =
[:[], :[]=, :key?]

Instance Method Summary collapse

Constructor Details

#initializeDict

Returns a new instance of Dict.



23
24
25
# File 'lib/rusty/dx.rb', line 23

def initialize
  super { |hash, key| hash[key] = Rusty::DX.new }
end