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.
1344 |
# File 'sig/types.rbs', line 1344
def initialize: (src: String, ?alt: String, ?title: String, image_type: ImageType) -> void
|
Instance Attribute Details
#alt ⇒ String (readonly)
Returns the value of attribute alt.
1340 1341 1342 |
# File 'sig/types.rbs', line 1340 def alt @alt end |
#image_type ⇒ ImageType (readonly)
Returns the value of attribute image_type.
1342 1343 1344 |
# File 'sig/types.rbs', line 1342 def image_type @image_type end |
#src ⇒ String (readonly)
Returns the value of attribute src.
1339 1340 1341 |
# File 'sig/types.rbs', line 1339 def src @src end |
#title ⇒ String (readonly)
Returns the value of attribute title.
1341 1342 1343 |
# File 'sig/types.rbs', line 1341 def title @title end |