Sha256: 03836aedee1c362fa41541d14a6557ce5716e91020bcbedd7422b5cf16c9d927
Contents?: true
Size: 506 Bytes
Versions: 13
Compression:
Stored size: 506 Bytes
Contents
module Mutant # Module for generating random values module Random # Return random hex string # # @return [String] # # @api private # def self.hex_string SecureRandom.hex(10) end # Return random fixnum # # @return [Fixnum] # # @api private # def self.fixnum ::Random.rand(1000) end # Return random float # # @return [Float] # # @api private # def self.float ::Random.rand end end end
Version data entries
13 entries across 13 versions & 1 rubygems