216件ヒット
[1-100件を表示]
(0.020秒)
種類
- インスタンスメソッド (180)
- 特異メソッド (36)
クラス
-
Rake
:: FileCreationTask (12) -
Rake
:: FileList (48) -
Rake
:: FileTask (12) -
Rake
:: InvocationChain (12) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) -
Rake
:: PackageTask (48) -
Rake
:: RDocTask (12) -
Rake
:: Task (12) -
Rake
:: TestTask (24)
モジュール
- RakeFileUtils (24)
キーワード
- == (12)
-
excluded
_ from _ list? (12) - external (12)
-
is
_ a? (12) -
kind
_ of? (12) - member? (24)
-
need
_ tar (12) -
need
_ tar _ bz2 (12) -
need
_ tar _ gz (12) -
need
_ zip (12) - needed? (24)
-
nowrite
_ flag (12) -
task
_ defined? (12) - verbose (12)
-
verbose
_ flag (12) - warning (12)
検索結果
先頭5件
-
Rake
:: FileList # is _ a?(klass) -> bool (104.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 (104.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
:: FileCreationTask # needed? -> bool (103.0) -
ファイルが存在しない場合、真を返します。 そうでない場合は、偽を返します。
ファイルが存在しない場合、真を返します。
そうでない場合は、偽を返します。
@see [[FileTask#needed?]] -
Rake
:: FileList # ==(array) -> bool (103.0) -
自身を配列に変換してから与えられた配列と比較します。
...た配列と比較します。
@param array 比較対象の配列を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new('lib/**/*.rb', 'test/test*.rb')
file_list == file_list.to_a # => true
end
/... -
Rake
:: FileList # excluded _ from _ list?(file _ name) -> bool (103.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("te... -
Rake
:: FileTask # needed? -> bool (103.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")
task.nee... -
Rake
:: InvocationChain # member?(task _ name) -> bool (103.0) -
与えられたタスク名が自身に含まれる場合は真を返します。 そうでない場合は偽を返します。
...。
@param task_name タスク名を指定します。
//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.member?("task_a") # => true... -
Rake
:: InvocationChain :: EmptyInvocationChain # member?(task _ name) -> bool (103.0) -
偽を返します。
偽を返します。 -
Rake
:: Task . task _ defined?(task _ name) -> bool (103.0) -
与えられたタスク名が既に定義されている場合は真を返します。 そうでない場合は偽を返します。
与えられたタスク名が既に定義されている場合は真を返します。
そうでない場合は偽を返します。
@param task_name タスク名を指定します。