Class: Mittsu::Image

Inherits:
Struct
  • Object
show all
Defined in:
lib/mittsu/extras/image.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



2
3
4
# File 'lib/mittsu/extras/image.rb', line 2

def data
  @data
end

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



2
3
4
# File 'lib/mittsu/extras/image.rb', line 2

def height
  @height
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



2
3
4
# File 'lib/mittsu/extras/image.rb', line 2

def width
  @width
end