888件ヒット
[201-300件を表示]
(0.121秒)
クラス
-
Rake
:: Application (108) -
Rake
:: DefaultLoader (12) -
Rake
:: FileList (204) -
Rake
:: FileTask (24) -
Rake
:: InvocationChain (36) -
Rake
:: NameSpace (24) -
Rake
:: PackageTask (180) -
Rake
:: TaskArguments (60) -
Rake
:: TestTask (48)
モジュール
- FileUtils (12)
-
Rake
:: Cloneable (24) -
Rake
:: TaskManager (156)
キーワード
- == (12)
- [] (36)
-
add
_ loader (12) - append (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 (12)
- 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
_ scope (12) -
original
_ dir (12) -
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) - warning (12)
-
with
_ defaults (12)
検索結果
先頭5件
-
Rake
:: Application # rakefile -> String (12209.0) -
実際に使用されている Rakefile の名前を返します。
...実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//}... -
Rake
:: FileList # excluded _ from _ list?(file _ name) -> bool (12209.0) -
与えられたファイル名が除外される場合は、真を返します。 そうでない場合は偽を返します。
...param file_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......")
file_list.excluded_from_list?("test1.rb") # => true
file_list.excluded_from_list?("test2.rb") # => false
end
//}... -
Rake
:: FileList # import(array) -> self (12209.0) -
与えられた配列を自身にインポートします。
...ram array ファイル名のリストを指定します。
//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 # to _ ary -> Array (12209.0) -
内部的な配列を返します。
...内部的な配列を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
file_list.to_a # => ["a.c", "b.c"]
end
//}... -
Rake
:: TaskManager # intern(task _ class , task _ name) -> Rake :: Task (12209.0) -
タスクを検索します。
...ram task_class タスクのクラスを指定します。
@param task_name タスクの名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do |task|
task.application.intern(Rake::Task, "test_rake_app") # => <Rake::T......ask test_rake_app => []>
task.application.intern(Rake::Task, "sample_task") # => <Rake::Task sample_task => []>
end
//}... -
Rake
:: TaskManager # synthesize _ file _ task(task _ name) -> Rake :: FileTask | nil (12209.0) -
与えられたタスク名をもとにファイルタスクを合成します。
...します。
@param task_name タスク名を指定します。
@return 与えられたタスク名と同名のファイルが存在する場合は、ファイルタスクを作成して返します。
そうでない場合は nil を返します。
@raise RuntimeError タスクを合成......。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do |task|
task.application.synthesize_file_task("sample_file") # => nil
IO.write("sample_file", "")
task.application.synthesize_file_task("sample_file") # => <Rake::FileTask sample_fil... -
Rake
:: TaskManager # tasks -> Array (12209.0) -
全てのタスクリストを返します。
...st[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app2
task :test_rake_app1 do |task|
end
task :test_rake_app2 do |task|
pp task.application.tasks
# => [<Rake::Task default => [test_rake_app2]>,
# <Rake::Task test_rake_app1 => []>,
# <Rake::Task t......est_rake_app2 => []>]
end
//}... -
Rake
:: PackageTask # package _ dir _ path -> String (12208.0) -
パッケージに含むファイルを配置するディレクトリを返します。
...パッケージに含むファイルを配置するディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_dir_path # => "pkg/sample-1.0.0"
end
//}... -
Rake
:: Application # original _ dir -> String (9309.0) -
rake コマンドを実行したディレクトリを返します。
...
rake コマンドを実行したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.original_dir # => "/path/to/dir"
end
//}...