1080件ヒット
[1-100件を表示]
(0.020秒)
種類
- インスタンスメソッド (912)
- 特異メソッド (156)
- クラス (12)
クラス
- Module (12)
-
Rake
:: Application (84) -
Rake
:: FileList (216) -
Rake
:: FileTask (24) -
Rake
:: InvocationChain (60) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) -
Rake
:: MakefileLoader (12) -
Rake
:: NameSpace (36) -
Rake
:: PackageTask (192) -
Rake
:: TaskArguments (72)
モジュール
- FileUtils (12)
- Kernel (60)
- Rake (36)
-
Rake
:: Cloneable (24) -
Rake
:: TaskManager (156) - RakeFileUtils (60)
キーワード
- == (12)
- TestTask (12)
- [] (36)
- append (36)
- application (12)
- application= (12)
- clear (12)
-
clear
_ exclude (12) - clone (12)
-
create
_ rule (12) -
current
_ scope (12) -
define
_ task (12) - desc (12)
- dup (12)
- egrep (12)
-
excluded
_ from _ list? (12) - existing (12)
- existing! (12)
- ext (12)
- file (12)
- gsub! (12)
- import (12)
-
in
_ namespace (12) - intern (12)
-
is
_ a? (12) -
kind
_ of? (12) -
last
_ comment (12) -
last
_ description (12) -
last
_ description= (12) - load (12)
- lookup (12)
- member? (12)
- name (24)
- name= (12)
- names (12)
- namespace (12)
-
need
_ tar (12) -
need
_ tar= (12) -
need
_ tar _ bz2 (12) -
need
_ tar _ bz2= (12) -
need
_ tar _ gz (12) -
need
_ tar _ gz= (12) -
need
_ zip (12) -
need
_ zip= (12) - needed? (12)
- new (60)
-
new
_ scope (12) -
nowrite
_ flag (12) -
nowrite
_ flag= (12) -
original
_ dir (24) -
package
_ dir (12) -
package
_ dir= (12) -
package
_ dir _ path (12) -
package
_ files (12) -
package
_ files= (12) - pathmap (12)
-
rake
_ extension (12) - rakefile (12)
- resolve (12)
- rule (12)
- sh (12)
- sub! (12)
-
synthesize
_ file _ task (12) - task (12)
- tasks (24)
-
to
_ a (12) -
to
_ ary (12) -
to
_ hash (12) -
to
_ s (24) -
top
_ level (12) -
top
_ level _ tasks (12) -
tty
_ output= (12) -
verbose
_ flag (12) -
verbose
_ flag= (12) -
when
_ writing (12) -
with
_ defaults (12)
検索結果
先頭5件
- Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain - Rake
:: InvocationChain . append(task _ name , chain) -> Rake :: InvocationChain - Rake
:: InvocationChain :: EmptyInvocationChain # append(task _ name) -> Rake :: InvocationChain - Kernel
# file(*args) { . . . } -> Rake :: FileTask - Rake
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array
-
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (6108.0) -
与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
...しい Rake::InvocationChain を返します。
@param task_name 追加するタスク名を指定します。
@raise RuntimeError 循環したタスクの呼び出しを検出した場合に発生します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
tas......k :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.append("task_b") # => LL("task_b", "task_a")
end
//}... -
Rake
:: InvocationChain . append(task _ name , chain) -> Rake :: InvocationChain (6108.0) -
与えられたタスク名を第二引数の Rake::InvocationChain に追加します。
...の Rake::InvocationChain に追加します。
@param task_name タスク名を指定します。
@param chain 既に存在する Rake::InvocationChain のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_a......pp do
chain = Rake::InvocationChain::EMPTY
b = Rake::InvocationChain.append("task_a", chain)
b.to_s # => "TOP => task_a"
end
//}... -
Rake
:: InvocationChain :: EmptyInvocationChain # append(task _ name) -> Rake :: InvocationChain (6102.0) -
与えられた値を追加した Rake::InvocationChain を返します。
...与えられた値を追加した Rake::InvocationChain を返します。
@param task_name 追加する値を指定します。... -
Kernel
# file(*args) { . . . } -> Rake :: FileTask (26.0) -
ファイルタスクを定義します。
...ル名を指定します。
例:
file "config.cfg" => ["config.template"] do
open("config.cfg", "w") do |outfile|
open("config.template") do |infile|
while line = infile.gets
outfile.puts line
end
end
end
end
@see Rake::Task.define_task... -
Rake
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array (26.0) -
与えられた名前の名前空間でブロックを評価します。
...ます。
@param name 名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
namespace :sample do
def hoge
puts "hoge"
end
end
task :test_rake_app do
task.application.in_namespace("sample") do
hoge # => "hoge"
end
end
//}... -
Module
# rake _ extension(method) { . . . } -> () (20.0) -
与えられたブロック内で既に存在するメソッドを再定義しようとした場合に 警告を表示します。この場合、ブロックは評価されません。
...た場合に
警告を表示します。この場合、ブロックは評価されません。
@param method ブロック内で再定義する予定のメソッド名を指定します。
例:
class String
rake_extension("xyz") do
def xyz
...
end
end
end... -
Rake
:: NameSpace # [](name) -> Rake :: Task (20.0) -
与えられた名前のタスクを返します。
...のタスクを返します。
@param name タスクの名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
namespace :ns do |ns|
task :ts1 do
end
task :ts2 do
end
ns[:ts1] # => <Rake::Task ns:ts1 => []>
ns[:ts2] # => <Rake::Task ns:ts2 => []>
end
//}... -
Rake
:: NameSpace # tasks -> Array (20.0) -
タスクのリストを返します。
...タスクのリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
namespace :ns do |ns|
task :ts1 do
end
task :ts2 do
end
ns.tasks # => [<Rake::Task ns:ts1 => []>, <Rake::Task ns:ts2 => []>]
end
//}... -
FileUtils
# sh(*cmd) {|result , status| . . . } (14.0) -
与えられたコマンドを実行します。
...参照してください。
例:
sh %{ls -ltr}
sh 'ls', 'file with spaces'
# check exit status after command runs
sh %{grep pattern file} do |ok, res|
if ! ok
puts "pattern not found (status = #{res.exitstatus})"
end
end
@see Kernel.#exec, Kernel.#system...