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)


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

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

Instance Attribute Details

#heightInteger (readonly)

Returns the value of attribute height.

Returns:

  • (Integer)


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

def height
  @height
end

#widthInteger (readonly)

Returns the value of attribute width.

Returns:

  • (Integer)


196
197
198
# File 'sig/types.rbs', line 196

def width
  @width
end