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.
1343 |
# File 'sig/types.rbs', line 1343
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.
1341 1342 1343 |
# File 'sig/types.rbs', line 1341 def exif @exif end |
#format ⇒ String?
Returns the value of attribute format.
1340 1341 1342 |
# File 'sig/types.rbs', line 1340 def format @format end |
#height ⇒ Integer?
Returns the value of attribute height.
1339 1340 1341 |
# File 'sig/types.rbs', line 1339 def height @height end |
#width ⇒ Integer?
Returns the value of attribute width.
1338 1339 1340 |
# File 'sig/types.rbs', line 1338 def width @width end |