るりまサーチ (Ruby 2.1.0)

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

別のキーワード

  1. io popen
  2. io pipe
  3. io readlines
  4. io each_line
  5. io each

ライブラリ

モジュール

検索結果

Rake::Task#application -> Rake::Application (82255.0)

自身を所有している Rake::Application のインスタンスを返します。

自身を所有している Rake::Application のインスタンスを返します。

Rake::Task#application=(app) (45652.0)

自身を所有している Rake::Application のインスタンスをセットします。

自身を所有している Rake::Application のインスタンスをセットします。

@param app 自身を所有しているアプリケーションを指定します。

Rake::Application#top_level_tasks -> Array (36319.0)

コマンドラインで指定されたタスクのリストを返します。

コマンドラインで指定されたタスクのリストを返します。

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

task default: :test_rake_app
task :test_rake_app do
Rake.application.top_level_tasks # => ["default"]
end
//}

Rake::TaskManager#synthesize_file_task(task_name) -> Rake::FileTask | nil (27955.0)

与えられたタスク名をもとにファイルタスクを合成します。

与えられたタスク名をもとにファイルタスクを合成します。

@param task_name タスク名を指定します。

@return 与えられたタスク名と同名のファイルが存在する場合は、ファイルタスクを作成して返します。
そうでない場合は nil を返します。

@raise RuntimeError タスクを合成できなかった場合に発生します。

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

task default: :test_rake_app

task :test_rake_app do |task|
task.applicatio...

Rake::TaskManager#last_description=(description) (27655.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::TaskManager#last_description -> String (18319.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::FileTask#needed? -> bool (9037.0)

このタスクが必要である場合は真を返します。 そうでない場合は偽を返します。

このタスクが必要である場合は真を返します。
そうでない場合は偽を返します。

このタスクで作成しようとしているファイルが存在しない場合や、
このタスクで作成しようとしているファイルが古い場合に真を返します。

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

task default: "test.txt"
file "test.txt" do |task|
Rake.application.options.build_all = false
task.needed? # => true
IO.write("test.txt", "test")
t...