Sha256: c3abc895d46c6c137aff0d0255fae186f00d06300cde990de7f4e37329d9bb29

Contents?: true

Size: 943 Bytes

Versions: 12

Compression:

Stored size: 943 Bytes

Contents

o:$YARD::CodeObjects::MethodObject:
@name:
owner:@docstringIC:YARD::Docstring"9Returns the class or module that defines the method.
:@objectu:YARD::StubProxyUnboundMethod#owner:
@summary0:	@all"KReturns the class or module that defines the method.


@overload owner:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;UnboundMethod#owner;;;IC;	"
;
u;UnboundMethod#owner;0;
";[;[:@types0:@parameters[:
@text0:@signature"
owner:@tag_name"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["eval.c0:@namespaceu;UnboundMethod:
@path"UnboundMethod#owner;[:@visibility:public:@source"/*
 *  call-seq:
 *     meth.owner    => class_or_module
 *
 *  Returns the class or module that defines the method.
 */

static VALUE
method_owner(obj)
    VALUE obj;
{
    struct METHOD *data;

    Data_Get_Struct(obj, struct METHOD, data);
    return data->klass;
}:@source_type:c

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
pry-doc-0.4.4 lib/pry-doc/core_docs_18/objects/UnboundMethod/owner_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/UnboundMethod/owner_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/UnboundMethod/owner_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/UnboundMethod/owner_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/UnboundMethod/owner_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/UnboundMethod/owner_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/UnboundMethod/owner_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/UnboundMethod/owner_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/UnboundMethod/owner_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/UnboundMethod/owner_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/UnboundMethod/owner_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/UnboundMethod/owner_i.dat