Permalink
Browse files

making sure the key gets converted into a string before the path is g…

…enerated

Signed-off-by: Yehuda Katz <wycats@gmail.com>
  • Loading branch information...
1 parent ae4b8a0 commit 692c8d820c3129791030a77891f3e94c72eab9e8 @hcatlin hcatlin committed with wycats Jun 7, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moneta/file.rb
View
2 lib/moneta/file.rb
@@ -80,7 +80,7 @@ def clear
private
def path(key)
- ::File.join(@directory, key)
+ ::File.join(@directory, key.to_s)
end
end
include Implementation

0 comments on commit 692c8d8

Please sign in to comment.