Module: Cch

Defined in:
lib/cch.rb,
lib/cch/setup.rb,
lib/cch/runner.rb,
lib/cch/version.rb,
lib/cch/watcher.rb,
lib/cch/commands/shell.rb

Defined Under Namespace

Modules: Commands Classes: Runner, Setup, Watcher

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.run(args) ⇒ Object


12
13
14
15
16
17
18
# File 'lib/cch.rb', line 12

def run(args)
  puts "=> running cch with args='#{args}'"
  Setup.configure

  files = Watcher.new.files
  runners.each { |runner| runner.run(files) if runner.on }
end