るりまサーチ

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

別のキーワード

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

クラス

検索結果

Set#superset?(set) -> bool (18121.0)

self が集合 set の上位集合 (スーパーセット) である場合に true を 返します。

...パーセット) である場合に true を
返します。

superset?
は、2 つの集合が等しい場合にも true となります。

proper_superset? は、2 つの集合が等しい場合には false を返します。

@param set 比較対象の Set オブジェクトを指定します。...
...by]{
s = Set[1, 2, 3]
p s.superset?(Set[1, 2]) # => true
p s.superset?(Set[1, 4]) # => false
p s.superset?(Set[1, 2, 3]) # => true
p s.proper_superset?(Set[1, 2]) # => true
p s.proper_superset?(Set[1, 4]) # => false
p s.proper_superset?(Set[1, 2, 3]) # => false...

Set#proper_superset?(set) -> bool (6121.0)

self が集合 set の上位集合 (スーパーセット) である場合に true を 返します。

...パーセット) である場合に true を
返します。

superset?
は、2 つの集合が等しい場合にも true となります。

proper_superset? は、2 つの集合が等しい場合には false を返します。

@param set 比較対象の Set オブジェクトを指定します。...
...by]{
s = Set[1, 2, 3]
p s.superset?(Set[1, 2]) # => true
p s.superset?(Set[1, 4]) # => false
p s.superset?(Set[1, 2, 3]) # => true
p s.proper_superset?(Set[1, 2]) # => true
p s.proper_superset?(Set[1, 4]) # => false
p s.proper_superset?(Set[1, 2, 3]) # => false...