Class: Xberg::DjotImage
- Inherits:
-
Object
- Object
- Xberg::DjotImage
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#alt ⇒ String
readonly
Returns the value of attribute alt.
-
#attributes ⇒ Attributes?
readonly
Returns the value of attribute attributes.
-
#src ⇒ String
readonly
Returns the value of attribute src.
-
#title ⇒ String?
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ DjotImage
constructor
A new instance of DjotImage.
Constructor Details
#initialize ⇒ DjotImage
543 |
# File 'sig/types.rbs', line 543 def initialize: (src: String, alt: String, ?title: String, ?attributes: Attributes) -> void |
Instance Attribute Details
#alt ⇒ String (readonly)
Returns the value of attribute alt.
539 540 541 |
# File 'sig/types.rbs', line 539 def alt @alt end |
#attributes ⇒ Attributes? (readonly)
Returns the value of attribute attributes.
541 542 543 |
# File 'sig/types.rbs', line 541 def attributes @attributes end |
#src ⇒ String (readonly)
Returns the value of attribute src.
538 539 540 |
# File 'sig/types.rbs', line 538 def src @src end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
540 541 542 |
# File 'sig/types.rbs', line 540 def title @title end |