module Formatron::Generators::Util
Utility methods
Public Class Methods
databag_secret()
click to toggle source
# File lib/formatron/generators/util.rb, line 11 def self.databag_secret SecureRandom.random_number(36**40).to_s(36).upcase end
guid()
click to toggle source
# File lib/formatron/generators/util.rb, line 7 def self.guid Random.rand(36**8).to_s(36).upcase end