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.
1299 |
# File 'sig/types.rbs', line 1299
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.
1297 1298 1299 |
# File 'sig/types.rbs', line 1297 def exif @exif end |
#format ⇒ String?
Returns the value of attribute format.
1296 1297 1298 |
# File 'sig/types.rbs', line 1296 def format @format end |
#height ⇒ Integer?
Returns the value of attribute height.
1295 1296 1297 |
# File 'sig/types.rbs', line 1295 def height @height end |
#width ⇒ Integer?
Returns the value of attribute width.
1294 1295 1296 |
# File 'sig/types.rbs', line 1294 def width @width end |