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.
1333 |
# File 'sig/types.rbs', line 1333
def initialize: (src: String, ?alt: String, ?title: String, image_type: ImageType) -> void
|
Instance Attribute Details
#alt ⇒ String (readonly)
Returns the value of attribute alt.
1329 1330 1331 |
# File 'sig/types.rbs', line 1329 def alt @alt end |
#image_type ⇒ ImageType (readonly)
Returns the value of attribute image_type.
1331 1332 1333 |
# File 'sig/types.rbs', line 1331 def image_type @image_type end |
#src ⇒ String (readonly)
Returns the value of attribute src.
1328 1329 1330 |
# File 'sig/types.rbs', line 1328 def src @src end |
#title ⇒ String (readonly)
Returns the value of attribute title.
1330 1331 1332 |
# File 'sig/types.rbs', line 1330 def title @title end |