Class: SmartImage::Info

Inherits:
Struct
  • Object
show all
Defined in:
lib/smart_image.rb

Overview

Struct type containing information about a given image

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



18
19
20
# File 'lib/smart_image.rb', line 18

def height
  @height
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



18
19
20
# File 'lib/smart_image.rb', line 18

def type
  @type
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



18
19
20
# File 'lib/smart_image.rb', line 18

def width
  @width
end