| CODENOTIFIER | HelpYou are not signed inSign in |
Project: rev
Revision: 238
Author: tarcieri
Date: 29 Jul 2008 01:15:30
Changes:Diff:| ... | ...@@ -18,7 +18,7 @@ | |
| 18 | 18 | attr_reader :watchers |
| 19 | 19 | |
| 20 | 20 | # In Ruby 1.9 we want a Rev::Loop per thread, but Ruby 1.8 is unithreaded |
| 21 | if RUBY_VERSION.gsub('.', '').to_i >= 190 | |
| 21 | if RUBY_VERSION >= "1.9.0" | |
| 22 | 22 | # Retrieve the default event loop for the current thread |
| 23 | 23 | def self.default |
| 24 | 24 | Thread.current._rev_loop |