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.
1415 |
# File 'sig/types.rbs', line 1415
def initialize: (src: String, ?alt: String, ?title: String, image_type: ImageType) -> void
|
Instance Attribute Details
#alt ⇒ String (readonly)
Returns the value of attribute alt.
1411 1412 1413 |
# File 'sig/types.rbs', line 1411 def alt @alt end |
#image_type ⇒ ImageType (readonly)
Returns the value of attribute image_type.
1413 1414 1415 |
# File 'sig/types.rbs', line 1413 def image_type @image_type end |
#src ⇒ String (readonly)
Returns the value of attribute src.
1410 1411 1412 |
# File 'sig/types.rbs', line 1410 def src @src end |
#title ⇒ String (readonly)
Returns the value of attribute title.
1412 1413 1414 |
# File 'sig/types.rbs', line 1412 def title @title end |