Module: Lono::Configset::EvaluateFile
- Included in:
- Meta, Register::Base, Strategy::Base, Extensions::Register
- Defined in:
- lib/lono/configset/evaluate_file.rb
Instance Method Summary collapse
Instance Method Details
#evaluate_file(path) ⇒ Object
3 4 5 6 |
# 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 |