diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-03-03 10:25:47 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-03-03 10:25:47 +0000 |
commit | 022503055121aee29741c344105b63b253e6da04 (patch) | |
tree | acfcf452e980e86fffec920c38f6d5e9425a5572 /lib/plugins | |
parent | f77ed4a7c30d989be8a95d11ee120422ff178ee1 (diff) | |
download | redmine-022503055121aee29741c344105b63b253e6da04.tar.gz redmine-022503055121aee29741c344105b63b253e6da04.zip |
Ruby2.0: remove "warning: class variable access from toplevel" in lib/plugins/rfpdf/lib/tcpdf.rb (#13338, #13329)
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11527 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/plugins')
-rwxr-xr-x | lib/plugins/rfpdf/lib/tcpdf.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/plugins/rfpdf/lib/tcpdf.rb b/lib/plugins/rfpdf/lib/tcpdf.rb index fac984cd0..22e1d2c25 100755 --- a/lib/plugins/rfpdf/lib/tcpdf.rb +++ b/lib/plugins/rfpdf/lib/tcpdf.rb @@ -39,9 +39,6 @@ require 'core/rmagick' # @package com.tecnick.tcpdf # -@@version = "1.53.0.TC031" -@@fpdf_charwidths = {} - PDF_PRODUCER = 'TCPDF via RFPDF 1.53.0.TC031 (http://tcpdf.sourceforge.net)' module TCPDFFontDescriptor @@ -79,6 +76,9 @@ class TCPDF Rails.logger end + @@version = "1.53.0.TC031" + @@fpdf_charwidths = {} + cattr_accessor :k_cell_height_ratio @@k_cell_height_ratio = 1.25 |