Class: Xberg::ImageMetadataType

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeImageMetadataType

Returns a new instance of ImageMetadataType.

Parameters:



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

def initialize: (src: String, ?alt: String, ?title: String, ?dimensions: ImageDimensions, image_type: enum_ImageType, attributes: Array[KeyValueAttribute]) -> void

Instance Attribute Details

#altString? (readonly)

Returns the value of attribute alt.

Returns:

  • (String, nil)


1301
1302
1303
# File 'sig/types.rbs', line 1301

def alt
  @alt
end

#attributesArray[KeyValueAttribute] (readonly)

Returns the value of attribute attributes.

Returns:



1305
1306
1307
# File 'sig/types.rbs', line 1305

def attributes
  @attributes
end

#dimensionsImageDimensions? (readonly)

Returns the value of attribute dimensions.

Returns:



1303
1304
1305
# File 'sig/types.rbs', line 1303

def dimensions
  @dimensions
end

#image_typeenum_ImageType (readonly)

Returns the value of attribute image_type.

Returns:

  • (enum_ImageType)


1304
1305
1306
# File 'sig/types.rbs', line 1304

def image_type
  @image_type
end

#srcString (readonly)

Returns the value of attribute src.

Returns:

  • (String)


1300
1301
1302
# File 'sig/types.rbs', line 1300

def src
  @src
end

#titleString? (readonly)

Returns the value of attribute title.

Returns:

  • (String, nil)


1302
1303
1304
# File 'sig/types.rbs', line 1302

def title
  @title
end