Class: SafeImage::Info

Inherits:
Data
  • Object
show all
Defined in:
lib/safe_image/result.rb

Instance Attribute Summary collapse

Instance Attribute Details

#animatedObject (readonly)

Returns the value of attribute animated

Returns:

  • (Object)

    the current value of animated



4
5
6
# File 'lib/safe_image/result.rb', line 4

def animated
  @animated
end

#heightObject (readonly)

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



4
5
6
# File 'lib/safe_image/result.rb', line 4

def height
  @height
end

#orientationObject (readonly)

Returns the value of attribute orientation

Returns:

  • (Object)

    the current value of orientation



4
5
6
# File 'lib/safe_image/result.rb', line 4

def orientation
  @orientation
end

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



4
5
6
# File 'lib/safe_image/result.rb', line 4

def path
  @path
end

#sizeObject (readonly)

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



4
5
6
# File 'lib/safe_image/result.rb', line 4

def size
  @size
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



4
5
6
# File 'lib/safe_image/result.rb', line 4

def type
  @type
end

#widthObject (readonly)

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



4
5
6
# File 'lib/safe_image/result.rb', line 4

def width
  @width
end