Class: AnimateIt::Verification::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/animate_it/verification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#alpha_psnrObject (readonly)

Returns the value of attribute alpha_psnr

Returns:

  • (Object)

    the current value of alpha_psnr



8
9
10
# File 'lib/animate_it/verification.rb', line 8

def alpha_psnr
  @alpha_psnr
end

#frameObject (readonly)

Returns the value of attribute frame

Returns:

  • (Object)

    the current value of frame



8
9
10
# File 'lib/animate_it/verification.rb', line 8

def frame
  @frame
end

#passedObject (readonly)

Returns the value of attribute passed

Returns:

  • (Object)

    the current value of passed



8
9
10
# File 'lib/animate_it/verification.rb', line 8

def passed
  @passed
end

#rgb_psnrObject (readonly)

Returns the value of attribute rgb_psnr

Returns:

  • (Object)

    the current value of rgb_psnr



8
9
10
# File 'lib/animate_it/verification.rb', line 8

def rgb_psnr
  @rgb_psnr
end

Instance Method Details

#psnrObject



9
10
11
# File 'lib/animate_it/verification.rb', line 9

def psnr
  [rgb_psnr, alpha_psnr].min
end