Sha256: 80a20a8d83f440fa5d9094ae9b15c9bc25bdb7243c13198d75d3722418ae46d5

Contents?: true

Size: 175 Bytes

Versions: 2

Compression:

Stored size: 175 Bytes

Contents

require 'rantly'
module Rantly::Check
  def check(n = 100, &block)
    Rantly.gen.each(n, &block)
  end

  def sample(n = 100, &block)
    Rantly.gen.map(n, &block)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rantly-3.0.0 lib/rantly/spec.rb
rantly-2.0.0 lib/rantly/spec.rb