Sha256: e4b245b45111eead8eced6617c666475c206b69ddc39b193bb62dd38b39a3a63
Contents?: true
Size: 393 Bytes
Versions: 13
Compression:
Stored size: 393 Bytes
Contents
module PropCheck class Property Configuration = Struct.new(:verbose, :n_runs, :max_generate_attempts, :max_shrink_steps, keyword_init: true) do def initialize(verbose: false, n_runs: 1_000, max_generate_attempts: 10_000, max_shrink_steps: 10_000) super end def merge(other) Configuration.new(**self.to_h.merge(other.to_h)) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems