Class: Prawn::FontMetricCache::CacheEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/prawn/font_metric_cache.rb

Instance Attribute Summary collapse

Instance Attribute Details

#fontObject

Returns the value of attribute font

Returns:

  • (Object)

    the current value of font



16
17
18
# File 'lib/prawn/font_metric_cache.rb', line 16

def font
  @font
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



16
17
18
# File 'lib/prawn/font_metric_cache.rb', line 16

def options
  @options
end

#stringObject

Returns the value of attribute string

Returns:

  • (Object)

    the current value of string



16
17
18
# File 'lib/prawn/font_metric_cache.rb', line 16

def string
  @string
end