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)


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

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)


1385
1386
1387
# File 'sig/types.rbs', line 1385

def alt
  @alt
end

#image_typeImageType (readonly)

Returns the value of attribute image_type.

Returns:



1387
1388
1389
# File 'sig/types.rbs', line 1387

def image_type
  @image_type
end

#srcString (readonly)

Returns the value of attribute src.

Returns:

  • (String)


1384
1385
1386
# File 'sig/types.rbs', line 1384

def src
  @src
end

#titleString (readonly)

Returns the value of attribute title.

Returns:

  • (String)


1386
1387
1388
# File 'sig/types.rbs', line 1386

def title
  @title
end