Class: Crawlberg::ImageInfo
- Inherits:
-
Object
- Object
- Crawlberg::ImageInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#alt ⇒ String?
Returns the value of attribute alt.
-
#height ⇒ Integer?
Returns the value of attribute height.
-
#source ⇒ ImageSource?
Returns the value of attribute source.
-
#url ⇒ String?
Returns the value of attribute url.
-
#width ⇒ Integer?
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize ⇒ ImageInfo
constructor
A new instance of ImageInfo.
Constructor Details
#initialize ⇒ ImageInfo
Returns a new instance of ImageInfo.
275 |
# File 'sig/types.rbs', line 275
def initialize: (?url: String, ?alt: String, ?width: Integer, ?height: Integer, ?source: ImageSource) -> void
|
Instance Attribute Details
#alt ⇒ String?
Returns the value of attribute alt.
270 271 272 |
# File 'sig/types.rbs', line 270 def alt @alt end |
#height ⇒ Integer?
Returns the value of attribute height.
272 273 274 |
# File 'sig/types.rbs', line 272 def height @height end |
#source ⇒ ImageSource?
Returns the value of attribute source.
273 274 275 |
# File 'sig/types.rbs', line 273 def source @source end |
#url ⇒ String?
Returns the value of attribute url.
269 270 271 |
# File 'sig/types.rbs', line 269 def url @url end |
#width ⇒ Integer?
Returns the value of attribute width.
271 272 273 |
# File 'sig/types.rbs', line 271 def width @width end |