Add a new class for run control file evaluation

This commit is contained in:
Thibault Jouan
2015-04-14 05:12:42 +00:00
parent 66c1b78740
commit b1aa430ef3
5 changed files with 79 additions and 19 deletions

View File

@@ -32,8 +32,7 @@ module Uh
end
def evaluate_run_control
rc_path = File.expand_path(@env.rc_path)
eval File.read(rc_path) if File.exist?(rc_path)
RunControl.evaluate(env)
end
def register_event_hooks