るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. pop n_bytes
  3. openssl n=
  4. openssl n
  5. rsa n

クラス

検索結果

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