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.
1450 |
# File 'sig/types.rbs', line 1450
def initialize: (src: String, ?alt: String, ?title: String, image_type: ImageType) -> void
|
Instance Attribute Details
#alt ⇒ String (readonly)
Returns the value of attribute alt.
1446 1447 1448 |
# File 'sig/types.rbs', line 1446 def alt @alt end |
#image_type ⇒ ImageType (readonly)
Returns the value of attribute image_type.
1448 1449 1450 |
# File 'sig/types.rbs', line 1448 def image_type @image_type end |
#src ⇒ String (readonly)
Returns the value of attribute src.
1445 1446 1447 |
# File 'sig/types.rbs', line 1445 def src @src end |
#title ⇒ String (readonly)
Returns the value of attribute title.
1447 1448 1449 |
# File 'sig/types.rbs', line 1447 def title @title end |