Use ruby equivalent for Ops.equal and non_equal.

It works same, so it just makes code more beatiful.