3件ヒット
[1-3件を表示]
(0.159秒)
クラス
検索結果
先頭3件
-
Rake
:: InvocationChain :: EmptyInvocationChain # member?(task _ name) -> bool (72604.0) -
偽を返します。
偽を返します。 -
Rake
:: InvocationChain # member?(task _ name) -> bool (63604.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... -
Set
# member?(o) -> bool (54304.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
//}