=~(p1)
  public
  
    
    
This method is deprecated.
This is not only unuseful but also troublesome because it may hide a type error.
   
  
    Show source    
    
      static VALUE
rb_obj_match(VALUE obj1, VALUE obj2)
{
    rb_warning("deprecated Object#=~ is called on %"PRIsVALUE
               "; it always returns nil", rb_obj_class(obj1));
    return Qnil;
}