lib/thread/delay.rb in thread-0.0.4.1 vs lib/thread/delay.rb in thread-0.0.4.2
- old
+ new
@@ -14,10 +14,9 @@
# Create a delay with the passed block.
def initialize (&block)
raise ArgumentError, 'no block given' unless block
@mutex = Mutex.new
-
@block = block
end
# Check if an exception has been raised.
def exception?