Permalink
Browse files

expand_file -> expand_path

  • Loading branch information...
1 parent d8b9a3e commit 2c367f6057926697192a3fc07d2bd9f7612f25d9 @westbaer committed Dec 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/siriproxy/connection.rb
@@ -46,7 +46,7 @@ def read_relative_file(x)
end
def write_relative_file(x, val)
- File.open(File.expand_file(x), "w") do |f|
+ File.open(File.expand_path(x), "w") do |f|
file.write(val)
end
end

0 comments on commit 2c367f6

Please sign in to comment.