lib/random_data/booleans.rb in random_data-1.2.1 vs lib/random_data/booleans.rb in random_data-1.3.0
- old
+ new
@@ -1,8 +1,8 @@
module RandomData
module Booleans
- #Returns true or false
+ #Returns true or false randomly
def boolean
rand(2) == 1 ? true : false
end
end
\ No newline at end of file