Method: Pathname#taint

Defined in:
pathname.c

#taintObject

Taints this Pathname.

See Object.taint.

Returns:

  • (Object)


73
74
75
76
77
78
79
# File 'pathname.c', line 73

static VALUE
path_taint(VALUE self)
{
    rb_call_super(0, 0);
    rb_obj_taint(get_strpath(self));
    return self;
}