diff options
author | Etienne Massip <etienne.massip@gmail.com> | 2012-07-10 20:14:06 +0000 |
---|---|---|
committer | Etienne Massip <etienne.massip@gmail.com> | 2012-07-10 20:14:06 +0000 |
commit | e2851a8b2a66957b76998b7d9f16e411a4a167fe (patch) | |
tree | 4c1ee2dfab24d0c1bdf35e88661c782c69b6cf26 /lib/plugins | |
parent | c929ab5c1663374d683b784c92b8cde731f57ae8 (diff) | |
download | redmine-e2851a8b2a66957b76998b7d9f16e411a4a167fe.tar.gz redmine-e2851a8b2a66957b76998b7d9f16e411a4a167fe.zip |
Use 1.8.7 compatible @Pathname#to_s@ alias for @Pathname#to_path@.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9969 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/plugins')
-rwxr-xr-x | lib/plugins/rfpdf/lib/tcpdf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/rfpdf/lib/tcpdf.rb b/lib/plugins/rfpdf/lib/tcpdf.rb index 7c4d0df81..287e81bb7 100755 --- a/lib/plugins/rfpdf/lib/tcpdf.rb +++ b/lib/plugins/rfpdf/lib/tcpdf.rb @@ -86,10 +86,10 @@ class TCPDF @@k_small_ratio = 2/3.0 cattr_accessor :k_path_cache - @@k_path_cache = Rails.root.join('tmp').to_path + @@k_path_cache = Rails.root.join('tmp').to_s cattr_accessor :k_path_url_cache - @@k_path_url_cache = Rails.root.join('tmp').to_path + @@k_path_url_cache = Rails.root.join('tmp').to_s cattr_accessor :decoder |