# File lib/rufus/scheduler.rb, line 165 def join fail NotRunningError.new( 'cannot join scheduler that is not running' ) unless @thread @thread.join end