Class: Ichiban::ScriptRunner

Inherits:
Object
  • Object
show all
Defined in:
lib/ichiban/scripts.rb

Instance Method Summary collapse

Instance Method Details

#script_file_changed(path) ⇒ Object

Takes an absolute path



8
9
10
11
# File 'lib/ichiban/scripts.rb', line 8

def script_file_changed(path)
  Ichiban.logger.script_run(path)
  script = Ichiban::Script.new(path).run
end