Class: HtmlToMarkdown::ImageDimensions
- Inherits:
-
Object
- Object
- HtmlToMarkdown::ImageDimensions
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#height ⇒ Integer
readonly
Returns the value of attribute height.
-
#width ⇒ Integer
readonly
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize ⇒ ImageDimensions
constructor
A new instance of ImageDimensions.
Constructor Details
#initialize ⇒ ImageDimensions
Returns a new instance of ImageDimensions.
201 |
# File 'sig/types.rbs', line 201
def initialize: (width: Integer, height: Integer) -> void
|
Instance Attribute Details
#height ⇒ Integer (readonly)
Returns the value of attribute height.
199 200 201 |
# File 'sig/types.rbs', line 199 def height @height end |
#width ⇒ Integer (readonly)
Returns the value of attribute width.
198 199 200 |
# File 'sig/types.rbs', line 198 def width @width end |