Class: NilClass

Inherits:
Object show all
Defined in:
lib/propr/random/nil.rb,
lib/propr/shrink/nil.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.random(m = Propr::Random) ⇒ Object



5
6
7
# File 'lib/propr/random/nil.rb', line 5

def random(m = Propr::Random)
  m.unit(nil)
end

Instance Method Details

#shrinkObject



2
3
4
# File 'lib/propr/shrink/nil.rb', line 2

def shrink
  []
end