lib/prawn/font_metric_cache.rb in prawn-1.0.0 vs lib/prawn/font_metric_cache.rb in prawn-1.1.0
- old
+ new
@@ -11,10 +11,10 @@
# Cache used internally by Prawn::Document instances to calculate the width
# of various strings for layout purposes.
#
# @private
- class FontMetricCache
+ class FontMetricCache
CacheEntry = Struct.new( :font, :options, :string )
def initialize( document )
@document = document