class Prawn::FontMetricCache::CacheEntry

Public Class Methods

new(font, options, size) click to toggle source

workaround for github.com/prawnpdf/prawn/issues/1140

Calls superclass method Object::new
# File lib/asciidoctor/pdf/ext/prawn/font_metric_cache.rb, line 5
def initialize font, options, size
  font = font.hash
  super
end