Sha256: dc817c72e9651dca8a0553460cbba4e17074298aac90607607fe62a60e71e174
Contents?: true
Size: 1.6 KB
Versions: 12
Compression:
Stored size: 1.6 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name:unbind:@docstringIC:YARD::Docstring"�Dissociates <i>meth</i> from it's current receiver. The resulting <code>UnboundMethod</code> can subsequently be bound to a new object of the same class (see <code>UnboundMethod</code>). :@objectu:YARD::StubProxyMethod#unbind: @summary0: @all"�Dissociates <i>meth</i> from it's current receiver. The resulting <code>UnboundMethod</code> can subsequently be bound to a new object of the same class (see <code>UnboundMethod</code>). @overload unbind:@ref_tags[: @tags[o:YARD::Tags::OverloadTag ; u;Method#unbind;;;IC; " ; u;Method#unbind;0; ";[;[:@types0:@parameters[: @text0:@signature"unbind:@tag_name" overload:@current_file_has_commentsF:@scope: instance;[:@docstring_extra0:@files[["eval.c0:@namespaceu;Method: @path"Method#unbind;[:@visibility:public:@source"�/* * call-seq: * meth.unbind => unbound_method * * Dissociates <i>meth</i> from it's current receiver. The resulting * <code>UnboundMethod</code> can subsequently be bound to a new object * of the same class (see <code>UnboundMethod</code>). */ static VALUE method_unbind(obj) VALUE obj; { VALUE method; struct METHOD *orig, *data; Data_Get_Struct(obj, struct METHOD, orig); method = Data_Make_Struct(rb_cUnboundMethod, struct METHOD, bm_mark, free, data); data->klass = orig->klass; data->recv = Qundef; data->id = orig->id; data->body = orig->body; data->rklass = orig->rklass; data->oid = orig->oid; OBJ_INFECT(method, obj); return method; }:@source_type:c
Version data entries
12 entries across 12 versions & 2 rubygems