Method: BasicObject#!=
- Defined in:
- object.c
permalink #!=(other) ⇒ Boolean
Returns true if two objects are not-equal, otherwise false.
279 280 281 282 283 284 |
# File 'object.c', line 279
VALUE
rb_obj_not_equal(VALUE obj1, VALUE obj2)
{
VALUE result = rb_funcall(obj1, id_eq, 1, obj2);
return rb_obj_not(result);
}
|