Method: ReVIEW::ImgMath#initialize
- Defined in:
- lib/review/img_math.rb
#initialize(config, path_name: '_review_math') ⇒ ImgMath
Returns a new instance of ImgMath.
9 10 11 12 13 14 |
# File 'lib/review/img_math.rb', line 9 def initialize(config, path_name: '_review_math') @config = config @logger = ReVIEW.logger @math_dir = File.join(@config['imagedir'], path_name) @math_maps = {} end |