るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
9件ヒット [1-9件を表示] (0.074秒)
トップページ > クエリ:tr[x] > バージョン:2.4.0[x] > クエリ:l[x] > クエリ:end[x] > ライブラリ:rake[x]

別のキーワード

  1. matrix tr
  2. string tr!
  3. string tr
  4. string tr_s
  5. string tr_s!

クラス

モジュール

キーワード

検索結果

Rake::TaskManager#last_comment -> String (18643.0)

Rakefile 内の最新の詳細説明を追跡するためのメソッドです。

...
Rake
file 内の最新の詳細説明を追跡するためのメソッドです。

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

task default: :test_rake_app1

desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end

desc "test2"
task :test_rake_a...

Rake::TaskManager#last_description -> String (18643.0)

Rakefile 内の最新の詳細説明を追跡するためのメソッドです。

...
Rake
file 内の最新の詳細説明を追跡するためのメソッドです。

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

task default: :test_rake_app1

desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end

desc "test2"
task :test_rake_a...

Rake.original_dir -> String (18625.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 (18625.0)

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

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

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

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

Rake::Application#rakefile -> String (18625.0)

実際に使用されている Rakefile の名前を返します。

...実際に使用されている Rakefile の名前を返します。

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

task default: :test_rake_app
task :test_rake_app do
Rake
.application.rakefile # => "Rakefile"
end
//}...

絞り込み条件を変える

Kernel#desc(description) -> String (9325.0)

直後の Rake タスクの説明を登録します。

...直後の Rake タスクの説明を登録します。

@param description 直後のタスクの説明を指定します。

例:
desc "Run the Unit Tests"
task :test => [:build] do
runtests
end...

Rake::Application#name -> String (9325.0)

アプリケーションの名前を返します。通常は 'rake' という名前を返します。

...アプリケーションの名前を返します。通常は 'rake' という名前を返します。

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

task default: :test_rake_app
task :test_rake_app do
Rake
.application.name # => "rake"
end
//}...

Rake::Application#options -> OpenStruct (9325.0)

コマンドラインで与えられたアプリケーションのオプションを返します。

...ンで与えられたアプリケーションのオプションを返します。

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

task default: :test_rake_app
task :test_rake_app do
Rake
.application.options # => #<OpenStruct always_multitask=false, backtrace=false, build_all=false, dryrun...
...=false, ignore_deprecate=false, ignore_system=false, job_stats=false, load_system=false, nosearch=false, rakelib=["rakelib"], show_all_tasks=false, show_prereqs=false, show_task_pattern=nil, show_tasks=nil, silent=false, suppress_backtrace_pattern=nil, thread_pool_size=8, trace=false, trace_output=#...

Rake::FileList#to_s -> String (9325.0)

全ての要素をスペースで連結した文字列を返します。

...全ての要素をスペースで連結した文字列を返します。

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

task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
file_list.to_s # => "a.c b.c"
end
//}...