Browse files

remove obsolete code

  • Loading branch information...
1 parent 7b84ffe commit e76da65d815f4907e0382c1a8993e7e4145a69df @dchelimsky dchelimsky committed Jul 5, 2010
Showing with 1 addition and 9 deletions.
  1. +1 −9 lib/rspec/core/runner.rb
View
10 lib/rspec/core/runner.rb
@@ -4,20 +4,12 @@ module RSpec
module Core
class Runner
- def self.at_exit_hook_disabled?
- @no_at_exit_hook ||= false
- end
-
- def self.disable_at_exit_hook!
- @no_at_exit_hook = true
- end
-
def self.installed_at_exit?
@installed_at_exit ||= false
end
def self.autorun
- return if at_exit_hook_disabled? || installed_at_exit? || running_in_drb?
+ return if installed_at_exit? || running_in_drb?
@installed_at_exit = true
at_exit { run(ARGV, $stderr, $stdout) ? exit(0) : exit(1) }
end

0 comments on commit e76da65

Please sign in to comment.