[]=(p1, p2)
public
Attribute Assignment—Sets or
creates the value of a thread-local
variable, using either a symbol or a string. See also Thread#[].
Show source
static VALUE
rb_thread_aset(VALUE self, VALUE id, VALUE val)
{
return rb_thread_local_aset(self, rb_to_id(id), val);
}