module Rebar::Random

Public Class Methods

score() click to toggle source
# File lib/rebar/random.rb, line 5
def self.score
  rand * 1_000_000_000
end
string() click to toggle source
# File lib/rebar/random.rb, line 9
def self.string
  Digest::SHA256.hexdigest(Time.now.to_s + rand.to_s)
end