ライブラリ
- English (22)
- ビルトイン (128)
- fileutils (61)
- openssl (11)
- pathname (33)
- rbconfig (11)
- rubygems (11)
-
rubygems
/ command (11) -
rubygems
/ exceptions (11) -
rubygems
/ installer (44) -
rubygems
/ require _ paths _ builder (11) -
rubygems
/ specification (22) -
rubygems
/ uninstaller (11) - shell (12)
-
webrick
/ config (11) -
webrick
/ httpserver (22)
クラス
- Dir (66)
- File (36)
-
Gem
:: Command (11) -
Gem
:: Installer (44) -
Gem
:: Specification (22) -
Gem
:: Uninstaller (11) - Pathname (33)
- Shell (12)
-
WEBrick
:: HTTPServer (11)
モジュール
- FileUtils (61)
- Gem (11)
-
Gem
:: RequirePathsBuilder (11) - Kernel (44)
- RbConfig (11)
-
WEBrick
:: Config (11)
オブジェクト
- ENV (4)
キーワード
-
$ ARGV (11) -
$ DEFAULT _ INPUT (11) - Config (11)
- FileHandler (11)
- GemNotInHomeException (11)
- HTTPServer (11)
-
NEWS for Ruby 2
. 1 . 0 (11) -
absolute
_ path (11) -
add
_ extra _ args (11) - chdir (44)
-
cp
_ lr (6) -
cp
_ r (11) -
default
_ system _ path (6) -
default
_ system _ path= (6) - dirname (3)
- except (4)
-
gem
_ home (22) - getwd (11)
-
home
_ install _ warning (11) -
home
_ install _ warning= (11) - homepage (11)
- homepage= (11)
- install (11)
- irb (11)
-
ln
_ s (11) - load (11)
- mount (11)
- move (11)
- mv (11)
- pwd (11)
- realpath (11)
- require (11)
- rexml (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 3 feature (11) - rubygems (11)
-
rubygems
/ security (11) -
set
_ home (11) -
sub
_ ext (11) - symlink (11)
-
write
_ require _ paths _ file _ if _ needed (11) - 環境変数 (11)
検索結果
先頭5件
-
Dir
. home -> String | nil (18132.0) -
現在のユーザまたは指定されたユーザのホームディレクトリを返します。
...れたユーザのホームディレクトリを返します。
Dir.home や Dir.home("root") は
File.expand_path("~") や File.expand_path("~root") と
ほぼ同じです。
//emlist[例][ruby]{
Dir.home # => "/home/vagrant"
Dir.home("root") # => "/root"
//}
@see File.expand_path......されたユーザのホームディレクトリを返します。
Dir.home や Dir.home("root") は
File.expand_path("~") や File.expand_path("~root") と
ほぼ同じです。
//emlist[例][ruby]{
Dir.home # => "/home/vagrant"
Dir.home("root") # => "/root"
//}
@see File.expand_path... -
Dir
. home(user) -> String | nil (18132.0) -
現在のユーザまたは指定されたユーザのホームディレクトリを返します。
...れたユーザのホームディレクトリを返します。
Dir.home や Dir.home("root") は
File.expand_path("~") や File.expand_path("~root") と
ほぼ同じです。
//emlist[例][ruby]{
Dir.home # => "/home/vagrant"
Dir.home("root") # => "/root"
//}
@see File.expand_path......されたユーザのホームディレクトリを返します。
Dir.home や Dir.home("root") は
File.expand_path("~") や File.expand_path("~root") と
ほぼ同じです。
//emlist[例][ruby]{
Dir.home # => "/home/vagrant"
Dir.home("root") # => "/root"
//}
@see File.expand_path... -
Gem
. # set _ home (6101.0) -
Gem のホームディレクトリをセットします。
Gem のホームディレクトリをセットします。 -
Gem
:: Installer # gem _ home -> String (6101.0) -
Gem のインストール先を返します。
Gem のインストール先を返します。 -
Gem
:: Installer . home _ install _ warning -> bool (6101.0) -
この値が真の場合、ホームディレクトリに Gem をインストールしようとすると警告を表示します。
この値が真の場合、ホームディレクトリに Gem をインストールしようとすると警告を表示します。 -
Gem
:: Installer . home _ install _ warning=(flag) (6101.0) -
ホームディレクトリに Gem をインストールしようとすると警告を表示するかどうかセットします。
ホームディレクトリに Gem をインストールしようとすると警告を表示するかどうかセットします。
@param flag 真を指定するとホームディレクトリに Gem をインストールしよう
とすると警告を表示するようになります。 -
Gem
:: Uninstaller # gem _ home -> String (6101.0) -
Gem がインストールされているディレクトリを返します。
Gem がインストールされているディレクトリを返します。 -
Gem
:: Specification # homepage -> String (6100.0) -
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI を返します。
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI を返します。 -
Gem
:: Specification # homepage=(uri) (6100.0) -
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI をセットします。
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI をセットします。
@param uri この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI を指定します。 -
Gem
:: GemNotInHomeException (6000.0) -
Gem が適切なディレクトリにインストールされていない場合に使用する例外です。
Gem が適切なディレクトリにインストールされていない場合に使用する例外です。