Class: HtmlToMarkdown::ImageDimensions

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeImageDimensions

Returns a new instance of ImageDimensions.

Parameters:

  • width: (Integer)
  • height: (Integer)


201
# File 'sig/types.rbs', line 201

def initialize: (width: Integer, height: Integer) -> void

Instance Attribute Details

#heightInteger (readonly)

Returns the value of attribute height.

Returns:

  • (Integer)


199
200
201
# File 'sig/types.rbs', line 199

def height
  @height
end

#widthInteger (readonly)

Returns the value of attribute width.

Returns:

  • (Integer)


198
199
200
# File 'sig/types.rbs', line 198

def width
  @width
end