CodeSampleX

サンプル

Demonstrate that Set#merge accepts multiple enumerable arguments and zero arguments rather than strictly requiring a single argument.

sha256:2d9066b6b344ce373a3c25794dab5a3006dc7b40a08549af8cb903a9892b0167

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Demonstrate that Set#merge accepts multiple enumerable arguments and zero arguments rather than strictly requiring a single argument. HOW
パッケージ
set 1.1.1
環境
ruby
作成日
2026-08-17T02:46:35Z

よくある思い込み

Set#merge accepts only a single enumerable argument at a time, requiring chained or sequential merge calls to combine multiple collections.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート