Class: Xberg::ImageMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeImageMetadata

Returns a new instance of ImageMetadata.

Parameters:

  • width: (Integer)
  • height: (Integer)
  • format: (String)
  • exif: (Hash[String, String])


1370
# File 'sig/types.rbs', line 1370

def initialize: (?width: Integer, ?height: Integer, ?format: String, ?exif: Hash[String, String]) -> void

Instance Attribute Details

#exifHash[String, String]?

Returns the value of attribute exif.

Returns:

  • (Hash[String, String], nil)


1368
1369
1370
# File 'sig/types.rbs', line 1368

def exif
  @exif
end

#formatString?

Returns the value of attribute format.

Returns:

  • (String, nil)


1367
1368
1369
# File 'sig/types.rbs', line 1367

def format
  @format
end

#heightInteger?

Returns the value of attribute height.

Returns:

  • (Integer, nil)


1366
1367
1368
# File 'sig/types.rbs', line 1366

def height
  @height
end

#widthInteger?

Returns the value of attribute width.

Returns:

  • (Integer, nil)


1365
1366
1367
# File 'sig/types.rbs', line 1365

def width
  @width
end