Class: SmartImage::Info
- Inherits:
-
Struct
- Object
- Struct
- SmartImage::Info
- Defined in:
- lib/smart_image.rb
Overview
Struct type containing information about a given image
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#type ⇒ Object
Returns the value of attribute type.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height
18 19 20 |
# File 'lib/smart_image.rb', line 18 def height @height end |
#type ⇒ Object
Returns the value of attribute type
18 19 20 |
# File 'lib/smart_image.rb', line 18 def type @type end |
#width ⇒ Object
Returns the value of attribute width
18 19 20 |
# File 'lib/smart_image.rb', line 18 def width @width end |