Methods

Rufus::Scheduler::SignalScheduler

A rufus-scheduler that steps only when the ruby process receives the 10 / USR1 signal.

Public Class Methods

new(opts={}) click to toggle source
     # File lib/rufus/sc/scheduler.rb, line 389
389:     def initialize(opts={})
390: 
391:       super(opts)
392: 
393:       trap(@options[:signal] || 10) do
394:         step
395:       end
396:     end

Public Instance Methods

stop() click to toggle source
     # File lib/rufus/sc/scheduler.rb, line 398
398:     def stop
399: 
400:       trap(@options[:signal] || 10)
401:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.