Class: SafeImage::Result
- Inherits:
-
Data
- Object
- Data
- SafeImage::Result
- Defined in:
- lib/safe_image/result.rb
Instance Attribute Summary collapse
-
#backend ⇒ Object
readonly
Returns the value of attribute backend.
-
#duration_ms ⇒ Object
readonly
Returns the value of attribute duration_ms.
-
#filesize ⇒ Object
readonly
Returns the value of attribute filesize.
-
#height ⇒ Object
readonly
Returns the value of attribute height.
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#input_format ⇒ Object
readonly
Returns the value of attribute input_format.
-
#optimizer ⇒ Object
readonly
Returns the value of attribute optimizer.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#output_format ⇒ Object
readonly
Returns the value of attribute output_format.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Instance Method Summary collapse
Instance Attribute Details
#backend ⇒ Object (readonly)
Returns the value of attribute backend
14 15 16 |
# File 'lib/safe_image/result.rb', line 14 def backend @backend end |
#duration_ms ⇒ Object (readonly)
Returns the value of attribute duration_ms
14 15 16 |
# File 'lib/safe_image/result.rb', line 14 def duration_ms @duration_ms end |
#filesize ⇒ Object (readonly)
Returns the value of attribute filesize
14 15 16 |
# File 'lib/safe_image/result.rb', line 14 def filesize @filesize end |
#height ⇒ Object (readonly)
Returns the value of attribute height
14 15 16 |
# File 'lib/safe_image/result.rb', line 14 def height @height end |
#input ⇒ Object (readonly)
Returns the value of attribute input
14 15 16 |
# File 'lib/safe_image/result.rb', line 14 def input @input end |
#input_format ⇒ Object (readonly)
Returns the value of attribute input_format
14 15 16 |
# File 'lib/safe_image/result.rb', line 14 def input_format @input_format end |
#optimizer ⇒ Object (readonly)
Returns the value of attribute optimizer
14 15 16 |
# File 'lib/safe_image/result.rb', line 14 def optimizer @optimizer end |
#output ⇒ Object (readonly)
Returns the value of attribute output
14 15 16 |
# File 'lib/safe_image/result.rb', line 14 def output @output end |
#output_format ⇒ Object (readonly)
Returns the value of attribute output_format
14 15 16 |
# File 'lib/safe_image/result.rb', line 14 def output_format @output_format end |
#width ⇒ Object (readonly)
Returns the value of attribute width
14 15 16 |
# File 'lib/safe_image/result.rb', line 14 def width @width end |
Instance Method Details
#success? ⇒ Boolean
26 |
# File 'lib/safe_image/result.rb', line 26 def success? = true |