o:$YARD::CodeObjects::MethodObject: @name:expand_path:@docstringIC:YARD::Docstring"KConverts a pathname to an absolute pathname. Relative paths are referenced from the current working directory of the process unless dir_string is given, in which case it will be used as the starting point. The given pathname may start with a ``~'', which expands to the process owner's home directory (the environment variable HOME must be set correctly). ``~user'' expands to the named user's home directory. File.expand_path("~oracle/bin") #=> "/home/oracle/bin" File.expand_path("../../bin", "/tmp/x") #=> "/bin" : @objectu:YARD::StubProxyFile.expand_path: @summary0: @all"~Converts a pathname to an absolute pathname. Relative paths are referenced from the current working directory of the process unless dir_string is given, in which case it will be used as the starting point. The given pathname may start with a ``~'', which expands to the process owner's home directory (the environment variable HOME must be set correctly). ``~user'' expands to the named user's home directory. File.expand_path("~oracle/bin") #=> "/home/oracle/bin" File.expand_path("../../bin", "/tmp/x") #=> "/bin" @overload expand_path(file_name [, dir_string] ):@ref_tags[: @tags[o:YARD::Tags::OverloadTag ; u; File.expand_path;;;IC; " ; u; File.expand_path; 0; ";[;[: @types0:@parameters[[:file_name[, dir_string]0: @text0:@signature"+expand_path(file_name [, dir_string] ):@tag_name" overload:@current_file_has_commentsF: @scope: class;[:@docstring_extra0: @files[[" file.c0:@namespaceu; File: @path"File.expand_path;[:@visibility: public: @source"ê/* * call-seq: * File.expand_path(file_name [, dir_string] ) -> abs_file_name * * Converts a pathname to an absolute pathname. Relative paths are * referenced from the current working directory of the process unless * dir_string is given, in which case it will be used as the * starting point. The given pathname may start with a * ``~'', which expands to the process owner's home * directory (the environment variable HOME must be set * correctly). ``~user'' expands to the named * user's home directory. * * File.expand_path("~oracle/bin") #=> "/home/oracle/bin" * File.expand_path("../../bin", "/tmp/x") #=> "/bin" */ VALUE rb_file_s_expand_path(argc, argv) int argc; VALUE *argv; { VALUE fname, dname; if (argc == 1) { return rb_file_expand_path(argv[0], Qnil); } rb_scan_args(argc, argv, "11", &fname, &dname); return rb_file_expand_path(fname, dname); }:@source_type:c