Method: Vips::Image#==
- Defined in:
- lib/vips8/image.rb
permalink #==(other) ⇒ Image
Compare equality to nil, an image, constant or array.
890 891 892 893 894 895 896 897 898 |
# File 'lib/vips8/image.rb', line 890 def ==(other) if other == nil false elsif other.is_a?(Vips::Image) relational(other, :equal) else relational_const(other, :equal) end end |