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])


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

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)


1286
1287
1288
# File 'sig/types.rbs', line 1286

def exif
  @exif
end

#formatString?

Returns the value of attribute format.

Returns:

  • (String, nil)


1285
1286
1287
# File 'sig/types.rbs', line 1285

def format
  @format
end

#heightInteger?

Returns the value of attribute height.

Returns:

  • (Integer, nil)


1284
1285
1286
# File 'sig/types.rbs', line 1284

def height
  @height
end

#widthInteger?

Returns the value of attribute width.

Returns:

  • (Integer, nil)


1283
1284
1285
# File 'sig/types.rbs', line 1283

def width
  @width
end