Class: Xberg::ImageMetadata
- Inherits:
-
Object
- Object
- Xberg::ImageMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#exif ⇒ Hash[String, String]
readonly
Returns the value of attribute exif.
-
#format ⇒ String
readonly
Returns the value of attribute format.
-
#height ⇒ Integer
readonly
Returns the value of attribute height.
-
#width ⇒ Integer
readonly
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.
1296 |
# File 'sig/types.rbs', line 1296
def initialize: (?width: Integer, ?height: Integer, ?format: String, ?exif: Hash[String, String]) -> void
|
Instance Attribute Details
#exif ⇒ Hash[String, String] (readonly)
Returns the value of attribute exif.
1294 1295 1296 |
# File 'sig/types.rbs', line 1294 def exif @exif end |
#format ⇒ String (readonly)
Returns the value of attribute format.
1293 1294 1295 |
# File 'sig/types.rbs', line 1293 def format @format end |
#height ⇒ Integer (readonly)
Returns the value of attribute height.
1292 1293 1294 |
# File 'sig/types.rbs', line 1292 def height @height end |
#width ⇒ Integer (readonly)
Returns the value of attribute width.
1291 1292 1293 |
# File 'sig/types.rbs', line 1291 def width @width end |