class Tdc::YamlReaders::YamlReaderWithExpansion

YAML source is a YAML file that undergoes ERB expansion.

Public Instance Methods

file_extension() click to toggle source
# File lib/tdc/yaml_readers/yaml_reader_with_expansion.rb, line 7
def file_extension
  ".yml.erb"
end
source_string() click to toggle source
# File lib/tdc/yaml_readers/yaml_reader_with_expansion.rb, line 11
def source_string
  ERB.new(File.read(definitions_file)).result
end