diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-29 16:19:02 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-29 17:50:54 -0800 |
commit | 16c0391066b38e5f3ea834b59632645890519574 (patch) | |
tree | 0f4475073323b0bc5c032fe21ae1052e57def75b /lib/rainbows/fiber.rb | |
parent | f050fcb9e5da4adf3b5b4f65c0590360113e78fd (diff) | |
download | rainbows-16c0391066b38e5f3ea834b59632645890519574.tar.gz |
Diffstat (limited to 'lib/rainbows/fiber.rb')
-rw-r--r-- | lib/rainbows/fiber.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/rainbows/fiber.rb b/lib/rainbows/fiber.rb index c30bd7a..ec0cee3 100644 --- a/lib/rainbows/fiber.rb +++ b/lib/rainbows/fiber.rb @@ -1,5 +1,9 @@ # -*- encoding: binary -*- -require 'fiber' +begin + require 'fiber' +rescue LoadError + defined?(NeverBlock) or raise +end module Rainbows |