Class: HashOfHash

Inherits:
DefaultInitHash show all
Defined in:
lib/fsm-0.0.0/graph/directed_graph.rb

Instance Method Summary collapse

Methods inherited from DefaultInitHash

#[]

Constructor Details

#initialize(&initBlock) ⇒ HashOfHash

Returns a new instance of HashOfHash.


5
6
7
8
9
10
11
12
13
# File 'lib/fsm-0.0.0/graph/directed_graph.rb', line 5

def initialize(&initBlock)
  super do
    if initBlock
	DefaultInitHash.new(&initBlock)
    else
	Hash.new
    end
  end
end