Class: FontMetrics::Metrics

Inherits:
Struct
  • Object
show all
Defined in:
lib/rsyntaxtree/utils.rb

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



75
76
77
# File 'lib/rsyntaxtree/utils.rb', line 75

def height
  @height
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



75
76
77
# File 'lib/rsyntaxtree/utils.rb', line 75

def width
  @width
end