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)


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

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)


1329
1330
1331
# File 'sig/types.rbs', line 1329

def alt
  @alt
end

#image_typeImageType (readonly)

Returns the value of attribute image_type.

Returns:



1331
1332
1333
# File 'sig/types.rbs', line 1331

def image_type
  @image_type
end

#srcString (readonly)

Returns the value of attribute src.

Returns:

  • (String)


1328
1329
1330
# File 'sig/types.rbs', line 1328

def src
  @src
end

#titleString (readonly)

Returns the value of attribute title.

Returns:

  • (String)


1330
1331
1332
# File 'sig/types.rbs', line 1330

def title
  @title
end