method
untaint
v1_8_7_72 -
Show latest stable
- Class:
Object
untaint()public
Removes the taint from obj.
/*
* call-seq:
* obj.untaint => obj
*
* Removes the taint from <i>obj</i>.
*/
VALUE
rb_obj_untaint(obj)
VALUE obj;
{
rb_secure(3);
if (OBJ_TAINTED(obj)) {
if (OBJ_FROZEN(obj)) {
rb_error_frozen("object");
}
FL_UNSET(obj, FL_TAINT);
}
return obj;
} Related methods
- Instance methods
- ==
- ===
- =~
- __id__
- __send__
- class
- clone
- dclone
- display
- dup
- enum_for
- eql?
- equal?
- extend
- freeze
- frozen?
- hash
- id
- initialize_copy
- inspect
- instance_eval
- instance_exec
- instance_of?
- instance_variable_defined?
- instance_variable_get
- instance_variable_get
- instance_variable_set
- instance_variable_set
- instance_variables
- is_a?
- kind_of?
- method
- methods
- nil?
- object_id
- private_methods
- protected_methods
- public_methods
- remove_instance_variable
- respond_to?
- send
- singleton_method_added
- singleton_method_removed
- singleton_method_undefined
- singleton_methods
- taint
- tainted?
- tap
- to_a
- to_enum
- to_s
- to_yaml
- to_yaml_properties
- to_yaml_style
- type
- untaint
- Class methods
- new