Class IB::Datatypes::StringentHash
In: datatypes.rb
Parent: Hash

Just like a Hash, but throws an exception if you try to access a key that doesn’t exist.

Methods

new  

Public Class methods

[Source]

     # File datatypes.rb, line 272
272:       def initialize(hash)
273:         super() {|hash,key| raise Exception.new("key #{key.inspect} not found!") }
274:         self.merge!(hash) unless hash.nil?
275:       end

[Validate]