module YAML
Monkey-patch YAML
to support auto-loading keyth keys
Public Class Methods
load(file)
click to toggle source
loads the yaml file, then replaces all keyth: links with the appropriate values. Params:
file
-
file object containing
YAML
to read
# File lib/keyth/yaml.rb, line 12 def self.load(file) Keyth.fetch_keys(pre_keyth_load(file)) end
Also aliased as: pre_keyth_load