Sha256: d6dc09a47a88becfac992b7f70c4aa19d734fe98db0b2b9cdff062788dd4783f

Contents?: true

Size: 167 Bytes

Versions: 7

Compression:

Stored size: 167 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

7 entries across 7 versions & 1 rubygems

Version Path
rantly-1.2.0 lib/rantly/spec.rb
rantly-1.1.0 lib/rantly/spec.rb
rantly-1.0.0 lib/rantly/spec.rb
rantly-0.3.2 lib/rantly/spec.rb
rantly-0.3.1 lib/rantly/spec.rb
rantly-0.3.0 lib/rantly/spec.rb
rantly-0.2.0 lib/rantly/spec.rb