るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

検索結果

Set#include?(o) -> bool (18202.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
//}...

Set#member?(o) -> bool (3102.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
//}...