examples/futures.rb in celluloid-0.18.0.pre vs examples/futures.rb in celluloid-0.18.0.pre2
- old
+ new
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
-$LOAD_PATH.push File.expand_path("../../lib", __FILE__)
+$LOAD_PATH.push File.expand_path("../lib", __dir__)
require "celluloid/autostart"
require "digest/sha2"
class Hasher
include Celluloid