Sha256: 52f1025d402048bf4c8f0de6b791e810384b9437c1ace70dbde107a42750731c

Contents?: true

Size: 1.17 KB

Versions: 12

Compression:

Stored size: 1.17 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:	path:@docstringIC:YARD::Docstring"pReturns the path parameter passed to <em>dir</em>'s constructor.

   d = Dir.new("..")
   d.path   #=> ".."
:@objectu:YARD::StubProxy
Dir#path:
@summary0:	@all"”Returns the path parameter passed to <em>dir</em>'s constructor.

   d = Dir.new("..")
   d.path   #=> ".."


@overload path
  @return [String, nil]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;
Dir#path;;;IC;	"
;
u;
Dir#path;0;
"@return [String, nil];[;[o:YARD::Tags::Tag
;
0;0:@types["String"nil:
@text":@tag_name"return;0:@parameters[;0:@signature"	path;"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["
dir.c0:@namespaceu;Dir:
@path"
Dir#path;[:@visibility:public:@source"s/*
 *  call-seq:
 *     dir.path => string or nil
 *
 *  Returns the path parameter passed to <em>dir</em>'s constructor.
 *
 *     d = Dir.new("..")
 *     d.path   #=> ".."
 */
static VALUE
dir_path(dir)
    VALUE dir;
{
    struct dir_data *dirp;

    Data_Get_Struct(dir, struct dir_data, dirp);
    if (!dirp->path) return Qnil;
    return rb_str_new2(dirp->path);
}:@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/Dir/path_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/Dir/path_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/Dir/path_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/Dir/path_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/Dir/path_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/Dir/path_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/Dir/path_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/Dir/path_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/Dir/path_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/Dir/path_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/Dir/path_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/Dir/path_i.dat