lib/celluloid/proxy/async.rb in celluloid-0.18.0.pre vs lib/celluloid/proxy/async.rb in celluloid-0.18.0.pre2
- old
+ new
@@ -5,10 +5,10 @@
args.unshift meth
meth = :__send__
end
if block_given?
# FIXME: nicer exception
- fail "Cannot use blocks with async yet"
+ raise "Cannot use blocks with async yet"
end
@mailbox << ::Celluloid::Call::Async.new(meth, args, block)
self
end
end