Sha256: 205780dd08c490e9dda7a09fb1848b77656d464e68b655d21a93afe00a59c5e2
Contents?: true
Size: 1.29 KB
Versions: 12
Compression:
Stored size: 1.29 KB
Contents
o:$YARD::CodeObjects::MethodObject:@scope: instance:@visibility:public: @pathI"Dir#to_path:EF:@parameters[:@files[[I" dir.c;T0:@current_file_has_commentsF: @name:to_path:@source_type:c: @tags[:@docstringIC:YARD::Docstring"pReturns the path parameter passed to <em>dir</em>'s constructor. d = Dir.new("..") d.path #=> "..";F:@objectIu:YARD::StubProxyDir#to_path;F: @summary0:@ref_tags[;[o:YARD::Tags::OverloadTag :@tag_nameI" overload;F: @text0;: path:@types0:@signatureI" path;F;IC;";F;Iu;Dir#to_path;F;0;[;[o:YARD::Tags::Tag ;I"return;F;I";F;0;[I"String;FI"nil;F;0: @allI"@return [String, nil];F;[;Iu;Dir#to_path;F;!I"�Returns the path parameter passed to <em>dir</em>'s constructor. d = Dir.new("..") d.path #=> ".." @overload path @return [String, nil];F:@namespaceIu;Dir;F:@docstring_extra0:@sourceI"�/* * 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(VALUE dir) { struct dir_data *dirp; TypedData_Get_Struct(dir, struct dir_data, &dir_data_type, dirp); if (NIL_P(dirp->path)) return Qnil; return rb_str_dup(dirp->path); };F
Version data entries
12 entries across 12 versions & 2 rubygems