Class: WeebSh::PreviewImage
- Inherits:
-
Object
- Object
- WeebSh::PreviewImage
- Includes:
- IDObject
- Defined in:
- lib/weeb/data.rb
Overview
Represents a preview image for toph
Direct Known Subclasses
Instance Attribute Summary collapse
-
#file_type ⇒ String
readonly
The file extension of the image.
-
#type ⇒ Symbol
readonly
The type of image this is.
-
#url ⇒ String
readonly
The url of the image.
Attributes included from IDObject
Method Summary
Methods included from IDObject
Instance Attribute Details
#file_type ⇒ String (readonly)
Returns the file extension of the image.
59 60 61 |
# File 'lib/weeb/data.rb', line 59 def file_type @file_type end |
#type ⇒ Symbol (readonly)
Returns the type of image this is.
56 57 58 |
# File 'lib/weeb/data.rb', line 56 def type @type end |
#url ⇒ String (readonly)
Returns the url of the image.
62 63 64 |
# File 'lib/weeb/data.rb', line 62 def url @url end |