るりまサーチ

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

別のキーワード

  1. fiddle ruby_free
  2. rbconfig ruby
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

ライブラリ

クラス

モジュール

検索結果

Rake.original_dir -> String (18214.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 (18214.0)

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

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

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

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