Class: HashOfHash
- Inherits:
-
DefaultInitHash
- Object
- Hash
- DefaultInitHash
- HashOfHash
- Defined in:
- lib/rpdf2txt-rockit/directed_graph.rb
Instance Method Summary collapse
-
#initialize(&initBlock) ⇒ HashOfHash
constructor
A new instance of HashOfHash.
Methods inherited from DefaultInitHash
Methods inherited from Hash
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 |