36件ヒット
[1-36件を表示]
(0.159秒)
クラス
-
Rake
:: InvocationChain (12) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) - Set (12)
検索結果
先頭3件
-
Rake
:: InvocationChain :: EmptyInvocationChain # member?(task _ name) -> bool (30301.0) -
偽を返します。
偽を返します。 -
Rake
:: InvocationChain # member?(task _ name) -> bool (27301.0) -
与えられたタスク名が自身に含まれる場合は真を返します。 そうでない場合は偽を返します。
...aram 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
invocat......ion_chain.member?("task_b") # => false
end
//}... -
Set
# member?(o) -> bool (21201.0) -
オブジェクト o がその集合に属する場合に true を返します。
...オブジェクト o がその集合に属する場合に true を返します。
@param o オブジェクトを指定します。
//emlist[][ruby]{
require 'set'
set = Set['hello', 'world']
p set.include?('world') # => true
p set.include?('bye') # => false
//}......オブジェクト o がその集合に属する場合に true を返します。
@param o オブジェクトを指定します。
//emlist[][ruby]{
set = Set['hello', 'world']
p set.include?('world') # => true
p set.include?('bye') # => false
//}...