るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.041秒)
トップページ > クエリ:g[x] > クエリ:original_dir[x]

別のキーワード

  1. rake original_dir
  2. _builtin original_name
  3. method original_name
  4. application original_dir
  5. specification original_name

ライブラリ

クラス

モジュール

検索結果

Rake.original_dir -> String (24207.0)

Rake アプリケーションを開始したディレクトリを返します。

...Rake アプリケーションを開始したディレクトリを返します。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :test_rake_app
task :test_rake_app do
Rake.original_dir # => "/path/to/dir"
end
//}...

Rake::Application#original_dir -> String (24207.0)

rake コマンドを実行したディレクトリを返します。

...rake コマンドを実行したディレクトリを返します。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :test_rake_app
task :test_rake_app do
Rake.application.original_dir # => "/path/to/dir"
end
//}...