るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
7件ヒット [1-7件を表示] (0.012秒)
トップページ > バージョン:2.5.0[x] > クエリ:desc[x] > クエリ:rake[x]

別のキーワード

  1. rake desc
  2. kernel desc
  3. desc
  4. desc kernel

ライブラリ

クラス

モジュール

検索結果

rake (114355.0)

Rake というコマンドラインツールを扱うライブラリです。

Rake というコマンドラインツールを扱うライブラリです。

=== Rake とは

Rake は Make によく似た機能を持つ Ruby で書かれたシンプルなビルドツールです。

Rake は以下のような特徴を持っています。

* Rakefile (Rake における Makefile) は標準的な Ruby の文法で書くことができます。
XML ファイルを編集する必要はありませんし、Makefile の風変わりな文法 (タブだっけ?スペースだっけ?) に頭を悩ませる必要もありません。
* ユーザは必須条件をタスクに指定できます。
* Rake は暗黙のタスクを合成...

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

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

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

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

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

Rake::TaskManager#last_description=(description) (51691.0)

最新の詳細説明をセットします。

最新の詳細説明をセットします。

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

task default: :test_rake_app1

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

desc "test2"
task :...

Rake::Task#add_description(description) (51601.0)

自身に詳細説明を追加します。

自身に詳細説明を追加します。

Rake::Task#arg_description (51301.0)

絞り込み条件を変える

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

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

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

//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_app2 do |task|
end
//}

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

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

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

//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_app2 do |task|
end
//}