Project

General

Profile

Feature #1027

Dir.home

Added by znz (Kazuhiro NISHIYAMA) over 11 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:21454]

Description

=begin
I request Dir.home again.
# previous request was [ruby-dev:31957]

Portable way of getting home directory is complex see [ruby-core:12347].
I think a simplest getting home directory is
Dir.chdir { Dir.pwd }
now.
But this is not thread-safe and changes directory needlessness.
=end

Also available in: Atom PDF