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