Class: Precursor::YamlVault

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

Overview

Vault that reads config data from a string with Yaml

Direct Known Subclasses

YamlFileVault

Instance Attribute Summary

Attributes inherited from Vault

#store

Instance Method Summary collapse

Methods inherited from Vault

#key?, #load, #value

Constructor Details

#initialize(yaml) ⇒ YamlVault

Returns a new instance of YamlVault.



10
11
12
13
# File 'lib/yaml_vault.rb', line 10

def initialize(yaml)
  super()
  @yaml = yaml
end