module Lono::Configset::EvaluateFile

Public Instance Methods

evaluate_file(path) click to toggle source
# File lib/lono/configset/evaluate_file.rb, line 3
def evaluate_file(path)
  return unless path && File.exist?(path)
  instance_eval(IO.read(path), path)
end