module Squasher::Config::Render

Public Instance Methods

const_missing(*args) click to toggle source
# File lib/squasher/config.rb, line 22
def const_missing(*args)
  @error = true
  self
end
inspect() click to toggle source
# File lib/squasher/config.rb, line 31
def inspect
  ''
end
method_missing(*args) click to toggle source
# File lib/squasher/config.rb, line 17
def method_missing(*args)
  @error = true
  self
end
process(path) click to toggle source
# File lib/squasher/config.rb, line 10
def process(path)
  @error = false

  str = YAML.load(ERB.new(File.read(path)).result(binding))
  [str, @error]
end
to_s() click to toggle source
# File lib/squasher/config.rb, line 27
def to_s
  ''
end