Method: Vips::Image#!=

Defined in:
lib/vips8/image.rb

#!=(other) ⇒ Image

Compare inequality to nil, an image, constant or array.

Parameters:

  • other (nil, Image, Real, Array<Real>)

    test inequality to this

Returns:

  • (Image)

    result of inequality

[View source]

904
905
906
907
908
909
910
911
912
# File 'lib/vips8/image.rb', line 904

def !=(other)
    if other == nil
        true
    elsif other.is_a?(Vips::Image) 
        relational(other, :noteq) 
    else
        relational_const(other, :noteq)
    end
end