about summary refs log tree commit
path: root/lib/metropolis/hash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/metropolis/hash.rb')
-rw-r--r--lib/metropolis/hash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/metropolis/hash.rb b/lib/metropolis/hash.rb
index fb4d272..d5c70cb 100644
--- a/lib/metropolis/hash.rb
+++ b/lib/metropolis/hash.rb
@@ -8,7 +8,7 @@ module Metropolis::Hash
 
   def setup(opts)
     super
-    if @path = opts[:path]
+    if @path
       begin
         @db = Marshal.load(File.open(@path, "rb") { |fp| fp.read })
         Hash === @db or raise ArgumentError, "#@path is not a marshaled Hash"