public Method

Binding.clone

MISSING: documentation

Source Code

/*
* MISSING: documentation
*/

static VALUE
proc_clone(self)
   VALUE self;
{
   struct BLOCK *orig, *data;
   VALUE bind;

   Data_Get_Struct(self, struct BLOCK, orig);
   bind = Data_Make_Struct(rb_obj_class(self),struct BLOCK,blk_mark,blk_free,data);
   CLONESETUP(bind, self);
   blk_dup(data, orig);

   return bind;
}
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.