Class: DTK::DSL::InputOutputCommon::Hash

Inherits:
Hash
  • Object
show all
Defined in:
lib/dsl/input_output_common/hash.rb

Direct Known Subclasses

FileParser::Input::Hash, Canonical::Hash

Instance Method Summary collapse

Constructor Details

#initialize(parent_class, hash = nil) ⇒ Hash

Returns a new instance of Hash.



21
22
23
24
# File 'lib/dsl/input_output_common/hash.rb', line 21

def initialize(parent_class, hash = nil)
  super()
  replace(reify(parent_class, hash)) if hash
end