Class: DiffRunner::App
- Inherits:
-
Object
- Object
- DiffRunner::App
- Defined in:
- lib/diff-runner.rb
Instance Method Summary collapse
Instance Method Details
#invocation ⇒ Object
19 20 21 |
# File 'lib/diff-runner.rb', line 19 def invocation @invocation ||= Invocation.new ARGV end |
#run ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/diff-runner.rb', line 9 def run invocation.run changes = Listen.to(".") do |m, a, d| invocation.run end changes.start sleep end |