      - parameter range: The range.
      - returns: An integer number in a given range.
      */
-    open static func int(_ range: Range<Int>) -> Int {
+    public static func int(_ range: Range<Int>) -> Int {
         return range.lowerBound + Int(arc4random_uniform(UInt32(range.upperBound - range.lowerBound + 1)))
     }
 


import Foundation

open class Random {
    /**
     Generate a random unsigned integer number.
     - returns: An unsigned integer number in a [0, UInt32.max) range.
     */
    open static func uint32() -> UInt32 {
        return arc4random_uniform(UInt32.max)
    }


     Generate a random boolean vaue.
     - returns: *true* with 50% chance
     */
    public static func bool() -> Bool {
        return bool(chance: 50)
    }

