vendor/bundle/ruby/1.8/gems/rufus-scheduler-2.0.16/lib/rufus/sc/scheduler.rb
# Stops the scheduler.
#
# If the :stop_em option is passed and set to true, it will stop the
# EventMachine (but only if it started the EM by itself !).
#
Stops the scheduler.
If the :stop_em option is passed and set to true, it will stop the
EventMachine (but only if it started the EM by itself !).
Stops the scheduler . If the : stop_em option is passed and set to true it will stop the EventMachine ( but only if it started the EM by itself ! ) .
def stop(opts={})
      @timer.cancel
      EM.stop if opts[:stop_em] and @em_thread
    end
def stop ( opts = { } ) @timer . cancel EM . stop if opts [ :stop_em ] and @em_thread end
Stops the scheduler.
Stops the scheduler .
opts