2 3 4 5 6
# File 'lib/propr/random/boolean.rb', line 2 def self.random(m = Propr::Random) m.bind(m.rand) do |n| m.unit(n > 0.5) end end