ライブラリ
- ビルトイン (4)
検索結果
-
Dir
. home -> String | nil (19) -
現在のユーザまたは指定されたユーザのホームディレクトリを返します。
...または指定されたユーザのホームディレクトリを返します。
Dir.home や Dir.home("root") は
File.expand_path("~") や File.expand_path("~root") と
ほぼ同じです。
@see File.expand_path... -
Dir
. home(user) -> String | nil (19) -
現在のユーザまたは指定されたユーザのホームディレクトリを返します。
...または指定されたユーザのホームディレクトリを返します。
Dir.home や Dir.home("root") は
File.expand_path("~") や File.expand_path("~root") と
ほぼ同じです。
@see File.expand_path...
