lib/milc/base.rb in milc-0.1.2 vs lib/milc/base.rb in milc-0.1.3

- old
+ new

@@ -9,11 +9,9 @@ require 'shellwords' require 'logger_pipe' def YAML.load_file_with_erb(yaml_path) - # config file example - # https://github.com/tengine/magellan-infra/blob/master/ansible/magellan-production_nebula-001/files/conf/nebula-staging/common.conf erb = ERB.new(IO.read(yaml_path)) erb.filename = yaml_path text = erb.result YAML.load(text) end