class Hashie::Extensions::Parsers::YamlErbParser
def self.perform(file_path)
def self.perform(file_path) new(file_path).perform end
def initialize(file_path)
def initialize(file_path) @content = File.read(file_path) @file_path = file_path end
def perform
def perform template = ERB.new(@content) template.filename = @file_path YAML.load template.result end