Class: Prawn::FontMetricCache::CacheEntryMonkeyPatch

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



7
8
9
# File 'lib/prawn/font_metric_cache.rb', line 7

def font
  @font
end

#font_sizeObject

Returns the value of attribute font_size

Returns:

  • (Object)

    the current value of font_size



7
8
9
# File 'lib/prawn/font_metric_cache.rb', line 7

def font_size
  @font_size
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



7
8
9
# File 'lib/prawn/font_metric_cache.rb', line 7

def options
  @options
end

#stringObject

Returns the value of attribute string

Returns:

  • (Object)

    the current value of string



7
8
9
# File 'lib/prawn/font_metric_cache.rb', line 7

def string
  @string
end