12件ヒット
[1-12件を表示]
(0.028秒)
クラス
- Module (1)
-
Rake
:: Application (3) -
Rake
:: InvocationChain (1) -
Rake
:: InvocationChain :: EmptyInvocationChain (1) -
Rake
:: PackageTask (1) -
Rake
:: RDocTask (1) -
Rake
:: Task (1) -
Rake
:: TestTask (1)
モジュール
- Kernel (1)
-
Rake
:: TaskManager (1)
キーワード
- desc (1)
- investigation (1)
-
last
_ description (1) - name (1)
-
option
_ string (1) -
original
_ dir (1) -
rake
_ extension (1) - rakefile (1)
-
to
_ s (2) - version (1)
検索結果
先頭5件
-
Rake
:: RDocTask # option _ string -> String (36910.0) -
rdoc コマンドに渡すオプションを文字列として返します。
rdoc コマンドに渡すオプションを文字列として返します。 -
Rake
:: Task # investigation -> String (18610.0) -
自身の詳しい内部状態を文字列化して返します。
自身の詳しい内部状態を文字列化して返します。
このメソッドはデバッグに便利です。 -
Rake
:: PackageTask # version -> String (18607.0) -
作成するパッケージのバージョンを表す文字列を返します。
作成するパッケージのバージョンを表す文字列を返します。 -
Rake
:: TestTask # options -> String (18607.0) -
テストスイートに渡すパラメータを返します。
テストスイートに渡すパラメータを返します。
コマンドラインで "TESTOPTS=options" が指定されると、この値を上書きします。
デフォルトは何も指定されていません。 -
Module
# rake _ extension(method) { . . . } -> () (18325.0) -
与えられたブロック内で既に存在するメソッドを再定義しようとした場合に 警告を表示します。この場合、ブロックは評価されません。
...た場合に
警告を表示します。この場合、ブロックは評価されません。
@param method ブロック内で再定義する予定のメソッド名を指定します。
例:
class String
rake_extension("xyz") do
def xyz
...
end
end
end... -
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (18310.0) -
'TOP' という文字列を返します。
'TOP' という文字列を返します。 -
Rake
:: TaskManager # last _ description -> String (9613.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_a... -
Rake
:: Application # name -> String (9310.0) -
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
...アプリケーションの名前を返します。通常は 'rake' という名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.name # => "rake"
end
//}... -
Rake
:: Application # original _ dir -> String (9310.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 (9310.0) -
実際に使用されている Rakefile の名前を返します。
...実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//}... -
Rake
:: InvocationChain # to _ s -> String (9310.0) -
トップレベルのタスクから自身までの依存関係を文字列として返します。
...での依存関係を文字列として返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.to_s # => "TOP => task_a"
end
//... -
Kernel
# desc(description) -> String (610.0) -
直後の Rake タスクの説明を登録します。
...直後の Rake タスクの説明を登録します。
@param description 直後のタスクの説明を指定します。
例:
desc "Run the Unit Tests"
task :test => [:build] do
runtests
end...