Class: HashOfHash

Inherits:
DefaultInitHash show all
Defined in:
lib/rpdf2txt-rockit/directed_graph.rb

Instance Method Summary collapse

Methods inherited from DefaultInitHash

#[]

Methods inherited from Hash

#to_compact_src, #to_src

Methods included from SourceCodeDumpable

as_code, as_method_named, as_module_method_named, #create_new, indent_lines, name_hash, #new_of_my_type, #parameter_named, #to_compact_src, #to_src_in_module, #type_to_src

Constructor Details

#initialize(&initBlock) ⇒ HashOfHash

Returns a new instance of HashOfHash.



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

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