Class: Xberg::ImageMetadata
- Inherits:
-
Object
- Object
- Xberg::ImageMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#exif ⇒ Hash[String, String]?
Returns the value of attribute exif.
-
#format ⇒ String?
Returns the value of attribute format.
-
#height ⇒ Integer?
Returns the value of attribute height.
-
#width ⇒ Integer?
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize ⇒ ImageMetadata
constructor
A new instance of ImageMetadata.
Constructor Details
#initialize ⇒ ImageMetadata
Returns a new instance of ImageMetadata.
1288 |
# File 'sig/types.rbs', line 1288
def initialize: (?width: Integer, ?height: Integer, ?format: String, ?exif: Hash[String, String]) -> void
|
Instance Attribute Details
#exif ⇒ Hash[String, String]?
Returns the value of attribute exif.
1286 1287 1288 |
# File 'sig/types.rbs', line 1286 def exif @exif end |
#format ⇒ String?
Returns the value of attribute format.
1285 1286 1287 |
# File 'sig/types.rbs', line 1285 def format @format end |
#height ⇒ Integer?
Returns the value of attribute height.
1284 1285 1286 |
# File 'sig/types.rbs', line 1284 def height @height end |
#width ⇒ Integer?
Returns the value of attribute width.
1283 1284 1285 |
# File 'sig/types.rbs', line 1283 def width @width end |