Class: Xberg::ImageDimensions
- Inherits:
-
Object
- Object
- Xberg::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.
1259 |
# File 'sig/types.rbs', line 1259
def initialize: (?width: Integer, ?height: Integer) -> void
|
Instance Attribute Details
#height ⇒ Integer (readonly)
Returns the value of attribute height.
1257 1258 1259 |
# File 'sig/types.rbs', line 1257 def height @height end |
#width ⇒ Integer (readonly)
Returns the value of attribute width.
1256 1257 1258 |
# File 'sig/types.rbs', line 1256 def width @width end |