Class: Xberg::ImageMetadataType
- Inherits:
-
Object
- Object
- Xberg::ImageMetadataType
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#alt ⇒ String
readonly
Returns the value of attribute alt.
-
#image_type ⇒ ImageType
readonly
Returns the value of attribute image_type.
-
#src ⇒ String
readonly
Returns the value of attribute src.
-
#title ⇒ String
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ ImageMetadataType
constructor
A new instance of ImageMetadataType.
Constructor Details
#initialize ⇒ ImageMetadataType
Returns a new instance of ImageMetadataType.
1389 |
# File 'sig/types.rbs', line 1389
def initialize: (src: String, ?alt: String, ?title: String, image_type: ImageType) -> void
|
Instance Attribute Details
#alt ⇒ String (readonly)
Returns the value of attribute alt.
1385 1386 1387 |
# File 'sig/types.rbs', line 1385 def alt @alt end |
#image_type ⇒ ImageType (readonly)
Returns the value of attribute image_type.
1387 1388 1389 |
# File 'sig/types.rbs', line 1387 def image_type @image_type end |
#src ⇒ String (readonly)
Returns the value of attribute src.
1384 1385 1386 |
# File 'sig/types.rbs', line 1384 def src @src end |
#title ⇒ String (readonly)
Returns the value of attribute title.
1386 1387 1388 |
# File 'sig/types.rbs', line 1386 def title @title end |