class Guard::Combustion

The Guard::Combustion class

@author [chosko]

Public Class Methods

new(options = {}) click to toggle source
Calls superclass method
# File lib/guard/combustion.rb, line 20
def initialize (options = {})
  super
  CombustionHelper.set_options(options)
end

Public Instance Methods

reload() click to toggle source
# File lib/guard/combustion.rb, line 34
def reload
  CombustionHelper.restart_combustion
end
run_all() click to toggle source
# File lib/guard/combustion.rb, line 38
def run_all
  reload
end
run_on_change(paths) click to toggle source
# File lib/guard/combustion.rb, line 42
def run_on_change(paths)
  reload
end
start() click to toggle source
# File lib/guard/combustion.rb, line 25
def start
  ::Guard::UI.info "Guard::Combustion is running"
  CombustionHelper.start_combustion
end
stop() click to toggle source
# File lib/guard/combustion.rb, line 30
def stop
  CombustionHelper.stop_combustion
end