るりまサーチ

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.091秒)
トップページ > クエリ:t[x] > クエリ:param[x] > 種類:インスタンスメソッド[x] > クエリ:ruby[x] > クエリ:include?[x] > クラス:Set[x] > ライブラリ:ビルトイン[x]

別のキーワード

  1. net/imap param
  2. win32ole win32ole_param
  3. win32ole_param input?
  4. win32ole_param optional?
  5. bodytypebasic param

検索結果

Set#include?(o) -> bool (18116.0)

オブジェクト o がその集合に属する場合に true を返します。

...オブジェクト o がその集合に属する場合に true を返します。

@param o オブジェクトを指定します。

//emlist[][ruby]{
set
= Set['hello', 'world']
p set.include?('world') # => true
p set.include?('bye') # => false
//}...