Class: HtmlToMarkdown::ImageDimensions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ ImageDimensions

Returns a new instance of ImageDimensions.

Parameters:

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


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

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

Instance Attribute Details

#height ⇒ Integer (readonly)

Returns the value of attribute height.

Returns:

  • (Integer)


190
191
192
# File 'sig/types.rbs', line 190

def height
  @height
end

#width ⇒ Integer (readonly)

Returns the value of attribute width.

Returns:

  • (Integer)


189
190
191
# File 'sig/types.rbs', line 189

def width
  @width
end