1056件ヒット
[1-100件を表示]
(0.024秒)
種類
- インスタンスメソッド (900)
- 特異メソッド (156)
クラス
-
Rake
:: Application (108) -
Rake
:: DefaultLoader (12) -
Rake
:: FileList (216) -
Rake
:: FileTask (24) -
Rake
:: InvocationChain (60) -
Rake
:: MakefileLoader (12) -
Rake
:: NameSpace (36) -
Rake
:: PackageTask (192) -
Rake
:: TaskArguments (72) -
Rake
:: TestTask (48)
モジュール
- FileUtils (12)
- Rake (36)
-
Rake
:: Cloneable (24) -
Rake
:: TaskManager (156) - RakeFileUtils (48)
キーワード
- == (12)
- [] (48)
-
add
_ loader (12) - append (24)
- application (12)
- application= (12)
- clear (12)
-
clear
_ exclude (12) - clone (12)
-
create
_ rule (12) -
current
_ scope (12) -
define
_ task (12) - dup (12)
- egrep (12)
-
excluded
_ from _ list? (12) - existing (12)
- existing! (12)
- ext (12)
- gsub! (12)
- import (12)
-
in
_ namespace (12) - init (12)
- intern (12)
-
is
_ a? (12) -
kind
_ of? (12) -
last
_ comment (12) -
last
_ description (12) -
last
_ description= (12) - load (24)
- loader= (12)
- lookup (12)
- member? (12)
- name (24)
- name= (12)
- names (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 (48)
-
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)
- rakefile (12)
- resolve (12)
-
ruby
_ opts (12) -
ruby
_ opts= (12) - sub! (12)
-
synthesize
_ file _ 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) - warning (12)
-
with
_ defaults (12)
検索結果
先頭5件
-
FileUtils
# ruby(*args) {|result , status| . . . } (26131.0) -
与えられた引数で Ruby インタプリタを実行します。
...与えられた引数で Ruby インタプリタを実行します。
@param args Ruby インタプリタに与える引数を指定します。
例:
ruby %{-pe '$_.upcase!' <README}
@see Kernel.#sh... -
Rake
. application -> Rake :: Application (17215.0) -
現在の Rake アプリケーションを返します。
...現在の Rake アプリケーションを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end
# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
#......st_description=nil,
# @loaders=
# {".rb"=>#<Rake::DefaultLoader:0x31b0c18>,
# ".rf"=>#<Rake::DefaultLoader:0x31b0b88>,
# ".rake"=>#<Rake::DefaultLoader:0x31b0b10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original......nding_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=LL(),
# @tasks=
# {"default"=><Rake::Task default => [test_rake_app]>,
# "test_rake_app"=><Rake::Task test_rake_app => []>},
# @term... -
Rake
:: Application # rakefile -> String (17126.0) -
実際に使用されている Rakefile の名前を返します。
...実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//}... -
Rake
. application=(app) (17102.0) -
現在の Rake アプリケーションをセットします。
...現在の Rake アプリケーションをセットします。
@param app Rake::Application のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
app = Rake::Application.new
app.tty_......output = true
Rake.application = app
pp Rake.application
end
# => #<Rake::Application:0x00005624e6c30eb8
# @default_loader=#<Rake::DefaultLoader:0x00005624e6c30cd8>,
# @imported=[],
# @last_description=nil,
# @loaders=
# {".rb"=>#<Rake::DefaultLoader:0x00005624e6c30bc0>,
#......".rf"=>#<Rake::DefaultLoader:0x00005624e6c30b48>,
# ".rake"=>#<Rake::DefaultLoader:0x00005624e6c30a80>},
# @name="rake",
# @options=
# #<OpenStruct always_multitask=false, backtrace=false, build_all=false, dryrun=false, ignore_deprecate=false, ignore_system=false, job_stats=... -
Rake
. original _ dir -> String (17042.0) -
Rake アプリケーションを開始したディレクトリを返します。
...
Rake アプリケーションを開始したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.original_dir # => "/path/to/dir"
end
//}... -
Rake
:: TaskManager # intern(task _ class , task _ name) -> Rake :: Task (11157.0) -
タスクを検索します。
...す。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do |task|
task.application.intern(Rake::Task, "test_rake_app") # => <Rake::Task test_rake_app => []>
task.application.intern(Rake::Task, "sample_task") # => <Rake::Task sample_task... -
Rake
:: InvocationChain . append(task _ name , chain) -> Rake :: InvocationChain (11155.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 # append(task _ name) -> Rake :: InvocationChain (11149.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
:: TaskArguments # new _ scope(names) -> Rake :: TaskArguments (11149.0) -
与えられたパラメータ名のリストを使用して新しい Rake::TaskArguments を作成します。
...リストを使用して新しい Rake::TaskArguments を作成します。
@param names パラメータ名のリストを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "n......ame2"], ["value1", "value2"])
new_arguments = arguments.new_scope(["name3", "name4"])
p new_arguments # => #<Rake::TaskArguments >
p new_arguments.names # => ["name3", "name4"]
end
//}...