Commit fe9ad1d2 authored by tmaruyama's avatar tmaruyama

Ruby2.0: remove "warning: class variable access from toplevel" in...

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: https://svn.redmine.org/redmine/trunk@11527 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 251c82c9
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment