Class: Precursor::HashVault

Inherits:
Vault
  • Object
show all
Defined in:
lib/hash_vault.rb

Overview

Vault that reads config data from passed hash

Direct Known Subclasses

OverrideVault

Instance Attribute Summary

Attributes inherited from Vault

#store

Instance Method Summary collapse

Methods inherited from Vault

#key?, #load, #value

Constructor Details

#initialize(hash) ⇒ HashVault

Returns a new instance of HashVault.



8
9
10
11
# File 'lib/hash_vault.rb', line 8

def initialize(hash)
  super()
  @store = hash
end