class RandomDataSource
Public Instance Methods
global_values()
click to toggle source
# File lib/tiller/data/random.rb, line 5 def global_values { 'random_base64' => SecureRandom.base64, 'random_hex' => SecureRandom.hex, 'random_bytes' => SecureRandom.random_bytes, 'random_number_10' => SecureRandom.random_number(10), 'random_number_100' => SecureRandom.random_number(100), 'random_number_1000' => SecureRandom.random_number(1000), 'random_urlsafe_base64' => SecureRandom.urlsafe_base64, 'random_uuid' => SecureRandom.uuid } end