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:

  • src: (String)
  • alt: (String)
  • title: (String)
  • image_type: (ImageType)


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

def initialize: (src: String, ?alt: String, ?title: String, image_type: ImageType) -> void

Instance Attribute Details

#altString (readonly)

Returns the value of attribute alt.

Returns:

  • (String)


1446
1447
1448
# File 'sig/types.rbs', line 1446

def alt
  @alt
end

#image_typeImageType (readonly)

Returns the value of attribute image_type.

Returns:



1448
1449
1450
# File 'sig/types.rbs', line 1448

def image_type
  @image_type
end

#srcString (readonly)

Returns the value of attribute src.

Returns:

  • (String)


1445
1446
1447
# File 'sig/types.rbs', line 1445

def src
  @src
end

#titleString (readonly)

Returns the value of attribute title.

Returns:

  • (String)


1447
1448
1449
# File 'sig/types.rbs', line 1447

def title
  @title
end