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.
-
#attributes ⇒ Array[KeyValueAttribute]
readonly
Returns the value of attribute attributes.
-
#dimensions ⇒ ImageDimensions?
readonly
Returns the value of attribute dimensions.
-
#image_type ⇒ enum_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.
1307 |
# File 'sig/types.rbs', line 1307
def initialize: (src: String, ?alt: String, ?title: String, ?dimensions: ImageDimensions, image_type: enum_ImageType, attributes: Array[KeyValueAttribute]) -> void
|
Instance Attribute Details
#alt ⇒ String? (readonly)
Returns the value of attribute alt.
1301 1302 1303 |
# File 'sig/types.rbs', line 1301 def alt @alt end |
#attributes ⇒ Array[KeyValueAttribute] (readonly)
Returns the value of attribute attributes.
1305 1306 1307 |
# File 'sig/types.rbs', line 1305 def attributes @attributes end |
#dimensions ⇒ ImageDimensions? (readonly)
Returns the value of attribute dimensions.
1303 1304 1305 |
# File 'sig/types.rbs', line 1303 def dimensions @dimensions end |
#image_type ⇒ enum_ImageType (readonly)
Returns the value of attribute image_type.
1304 1305 1306 |
# File 'sig/types.rbs', line 1304 def image_type @image_type end |
#src ⇒ String (readonly)
Returns the value of attribute src.
1300 1301 1302 |
# File 'sig/types.rbs', line 1300 def src @src end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
1302 1303 1304 |
# File 'sig/types.rbs', line 1302 def title @title end |