lib/rantly/spec.rb in rantly-1.2.0 vs lib/rantly/spec.rb in rantly-2.0.0
- old
+ new
@@ -1,10 +1,10 @@
require 'rantly'
module Rantly::Check
- def check(n=100,&block)
- Rantly.gen.each(n,&block)
+ def check(n = 100, &block)
+ Rantly.gen.each(n, &block)
end
- def sample(n=100,&block)
- Rantly.gen.map(n,&block)
+ def sample(n = 100, &block)
+ Rantly.gen.map(n, &block)
end
end