Sha256: a04976e7a0f3a1c8e65e7131b3223d1f86c535a96db587b067f2d87fa0df9d9c

Contents?: true

Size: 1.66 KB

Versions: 12

Compression:

Stored size: 1.66 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:protected_methods:@docstringIC:YARD::Docstring"�Returns the list of protected methods accessible to <i>obj</i>. If
the <i>all</i> parameter is set to <code>false</code>, only those methods
in the receiver will be listed.
:@objectu:YARD::StubProxyObject#protected_methods:
@summary0:	@all"�Returns the list of protected methods accessible to <i>obj</i>. If
the <i>all</i> parameter is set to <code>false</code>, only those methods
in the receiver will be listed.


@overload protected_methods(all=true)
  @return [Array]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;Object#protected_methods;;;IC;	"
;
u;Object#protected_methods;0;
"@return [Array];[;[o:YARD::Tags::Tag
;
0;0:@types["
Array:
@text":@tag_name"return;0:@parameters[[:all"	true;0:@signature" protected_methods(all=true);"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["
object.c0:@namespaceu;Object:
@path"Object#protected_methods;[:@visibility:public:@source"g/*
 *  call-seq:
 *     obj.protected_methods(all=true)   => array
 *  
 *  Returns the list of protected methods accessible to <i>obj</i>. If
 *  the <i>all</i> parameter is set to <code>false</code>, only those methods
 *  in the receiver will be listed.
 */

static VALUE
rb_obj_protected_methods(argc, argv, obj)
    int argc;
    VALUE *argv;
    VALUE obj;
{
    if (argc == 0) {        /* hack to stop warning */
    VALUE args[1];

    args[0] = Qtrue;
    return rb_class_protected_instance_methods(1, args, CLASS_OF(obj));
    }
    return rb_class_protected_instance_methods(argc, argv, CLASS_OF(obj));
}:@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/Object/protected_methods_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/Object/protected_methods_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/Object/protected_methods_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/Object/protected_methods_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/Object/protected_methods_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/Object/protected_methods_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/Object/protected_methods_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/Object/protected_methods_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/Object/protected_methods_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/Object/protected_methods_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/Object/protected_methods_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/Object/protected_methods_i.dat