704件ヒット
[201-300件を表示]
(0.124秒)
種類
- インスタンスメソッド (539)
- 特異メソッド (132)
- ライブラリ (22)
- 文書 (11)
ライブラリ
- rake (561)
-
rake
/ loaders / makefile (11) -
rake
/ packagetask (99)
クラス
-
Rake
:: Application (77) -
Rake
:: FileList (187) -
Rake
:: FileTask (22) -
Rake
:: InvocationChain (55) -
Rake
:: MakefileLoader (11) -
Rake
:: NameSpace (11) -
Rake
:: PackageTask (99) -
Rake
:: TaskArguments (22)
モジュール
- Rake (33)
-
Rake
:: TaskManager (99) - RakeFileUtils (55)
キーワード
- == (11)
- Ruby用語集 (11)
- [] (11)
- append (22)
- application (11)
- application= (11)
-
clear
_ exclude (11) -
define
_ task (11) - egrep (11)
-
excluded
_ from _ list? (11) - existing (11)
- existing! (11)
- ext (11)
- gsub! (11)
- import (11)
-
in
_ namespace (11) - intern (11)
-
is
_ a? (11) -
kind
_ of? (11) -
last
_ comment (11) -
last
_ description (11) -
last
_ description= (11) - load (11)
- lookup (11)
- member? (11)
- name (22)
-
need
_ zip (11) -
need
_ zip= (11) - needed? (11)
- new (44)
-
nowrite
_ flag (11) -
nowrite
_ flag= (11) -
original
_ dir (22) -
package
_ dir (11) -
package
_ dir= (11) -
package
_ dir _ path (11) -
package
_ files (11) -
package
_ files= (11) - pathmap (11)
- rake (11)
- resolve (11)
-
rubygems
/ specification (11) - sub! (11)
-
synthesize
_ file _ task (11) -
to
_ a (11) -
to
_ ary (11) -
to
_ s (22) -
top
_ level (11) -
top
_ level _ tasks (11) -
tty
_ output= (11) -
verbose
_ flag (11) -
verbose
_ flag= (11) -
when
_ writing (11) -
with
_ defaults (11)
検索結果
先頭5件
-
Rake
:: Application # options -> OpenStruct (6112.0) -
コマンドラインで与えられたアプリケーションのオプションを返します。
...ンを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.options # => #<OpenStruct always_multitask=false, backtrace=false, build_all=false, dryrun=false, ignore_deprecate=false, ignore_system=false, job_sta......ts=false, load_system=false, nosearch=false, rakelib=["rakelib"], show_all_tasks=false, show_prereqs=false, show_task_pattern=nil, show_tasks=nil, silent=false, suppress_backtrace_pattern=nil, thread_pool_size=8, trace=false, trace_output=#<IO:<STDERR>>, trace_rules=false>
end
//}... -
Rake
:: Application # original _ dir -> String (6112.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
:: FileList # excluded _ from _ list?(file _ name) -> bool (6112.0) -
与えられたファイル名が除外される場合は、真を返します。 そうでない場合は偽を返します。
...ile_name ファイル名を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb")
file_list.exclude("test1.rb")
fi......le_list.excluded_from_list?("test1.rb") # => true
file_list.excluded_from_list?("test2.rb") # => false
end
//}... -
Rake
:: FileList # existing! -> self (6112.0) -
自身に含まれるファイルのうちファイルシステムに存在するファイルのみを 含むように自身を変更して返します。
...//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.existing! # => ["test1.rb", "test2.rb"]
file_list......# => ["test1.rb", "test2.rb"]
end
//}... -
Rake
:: FileList # import(array) -> self (6112.0) -
与えられた配列を自身にインポートします。
...トを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.import(["test4.rb", "test5.rb"])......# => ["test4.rb", "test5.rb", "test1.rb", "test2.rb", "test3.rb"]
file_list # => ["test4.rb", "test5.rb", "test1.rb", "test2.rb", "test3.rb"]
end
//}... -
Rake
:: FileList # is _ a?(klass) -> bool (6112.0) -
自身に Array のフリをさせます。
...自身に Array のフリをさせます。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.is_a?(Array) # => true
file_list.is_a?(String) # => false
end
//}... -
Rake
:: FileList # kind _ of?(klass) -> bool (6112.0) -
自身に Array のフリをさせます。
...自身に Array のフリをさせます。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.is_a?(Array) # => true
file_list.is_a?(String) # => false
end
//}... -
Rake
:: InvocationChain # to _ s -> String (6112.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
//}... -
Rake
:: InvocationChain . new(task _ name , tail) (6112.0) -
与えられたタスク名と一つ前の Rake::InvocationChain を用いて自身を初期化します。
...e::InvocationChain を用いて自身を初期化します。
@param task_name タスク名を指定します。
@param tail 一つ前の Rake::InvocationChain を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
tail =......Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
tail.to_s # => "TOP => task_a"
b = Rake::InvocationChain.new("task_b", tail)
b.to_s # => "TOP => task_a => task_b"
end
//}... -
Rake
:: PackageTask # need _ zip -> bool (6112.0) -
この値が真である場合は zip ファイルを作成します。 デフォルトは偽です。
...この値が真である場合は zip ファイルを作成します。
デフォルトは偽です。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.need_zip # => false
end
//}...