るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.172秒)
トップページ > クエリ:t[x] > クエリ:Ruby[x] > 種類:インスタンスメソッド[x] > クエリ:r[x] > クエリ:end[x] > クエリ:original_dir[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils chown_r
  5. bigdecimal to_r

ライブラリ

クラス

検索結果

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

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

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

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

t
ask default: :test_rake_app
t
ask :test_rake_app do
R
ake.application.original_dir # => "/path/to/dir"
end

//}...