module Gusteau::ERB
Public Instance Methods
read_erb(path)
click to toggle source
# File lib/gusteau/erb.rb, line 7 def read_erb(path) ::ERB.new(File.read(path)).result binding end
read_erb_yaml(path)
click to toggle source
# File lib/gusteau/erb.rb, line 11 def read_erb_yaml(path) YAML::load(read_erb path) end