Method: HashOfHash#initialize

Defined in:
lib/fsm-0.0.0/graph/directed_graph.rb

#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