るりまサーチ

最速Rubyリファレンスマニュアル検索!
29件ヒット [1-29件を表示] (0.076秒)

別のキーワード

  1. _builtin include?
  2. socket mcast_include
  3. dbm include?
  4. set include?
  5. sdbm include?

ライブラリ

キーワード

検索結果

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

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

Set#===(o) -> bool (15.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
//}...

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