Class: Boolean

Inherits:
Object show all
Defined in:
lib/sugar-high/boolean.rb

Class Method Summary collapse

Class Method Details

.randomObject



4
5
6
# File 'lib/sugar-high/boolean.rb', line 4

def self.random
  [true, false].pick_one!
end