public Method

Object.tainted?

obj.tainted?     true or false

Returns true if the object is tainted.

Source Code

/*
*  call-seq:
*     obj.tainted?    => true or false
*  
*  Returns <code>true</code> if the object is tainted.
*/

VALUE
rb_obj_tainted(obj)
   VALUE obj;
{
   if (OBJ_TAINTED(obj))
       return Qtrue;
   return Qfalse;
}
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.