Method: Object#=~
- Defined in:
- object.c
permalink #=~(other) ⇒ nil
Pattern Match---Overridden by descendants (notably Regexp
and String
) to provide meaningful pattern-match semantics.
|
# File 'object.c'
/*
* call-seq:
* obj =~ other -> nil
*
* Pattern Match---Overridden by descendants (notably
* <code>Regexp</code> and <code>String</code>) to provide meaningful
* pattern-match semantics.
*/
static VALUE
rb_obj_match(VALUE obj1, VALUE obj2)
{
return Qnil;
}
|