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.
266 |
# File 'sig/types.rbs', line 266
def initialize: (?url: String, ?alt: String, ?width: Integer, ?height: Integer, ?source: ImageSource) -> void
|
Instance Attribute Details
#alt ⇒ String?
Returns the value of attribute alt.
261 262 263 |
# File 'sig/types.rbs', line 261 def alt @alt end |
#height ⇒ Integer?
Returns the value of attribute height.
263 264 265 |
# File 'sig/types.rbs', line 263 def height @height end |
#source ⇒ ImageSource?
Returns the value of attribute source.
264 265 266 |
# File 'sig/types.rbs', line 264 def source @source end |
#url ⇒ String?
Returns the value of attribute url.
260 261 262 |
# File 'sig/types.rbs', line 260 def url @url end |
#width ⇒ Integer?
Returns the value of attribute width.
262 263 264 |
# File 'sig/types.rbs', line 262 def width @width end |