module YAML

Public Class Methods

load_file_with_erb(yaml_path) click to toggle source
# File lib/milc/base.rb, line 10
def YAML.load_file_with_erb(yaml_path)
  erb = ERB.new(IO.read(yaml_path))
  erb.filename = yaml_path
  text = erb.result
  YAML.load(text)
end