dup() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
static VALUE
binding_dup(VALUE self)
    VALUE bindval = binding_alloc(rb_cBinding);
    rb_binding_t *src, *dst;
    GetBindingPtr(self, src);
    GetBindingPtr(bindval, dst);
    dst->env = src->env;
    dst->filename = src->filename;
    dst->line_no = src->line_no;
    return bindval;
Register or log in to add new notes.