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.
-
#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
Returns a new instance of DjotImage.
797 |
# File 'sig/types.rbs', line 797
def initialize: (src: String, alt: String, ?title: String) -> void
|
Instance Attribute Details
#alt ⇒ String (readonly)
Returns the value of attribute alt.
794 795 796 |
# File 'sig/types.rbs', line 794 def alt @alt end |
#src ⇒ String (readonly)
Returns the value of attribute src.
793 794 795 |
# File 'sig/types.rbs', line 793 def src @src end |
#title ⇒ String (readonly)
Returns the value of attribute title.
795 796 797 |
# File 'sig/types.rbs', line 795 def title @title end |