module Figroll::Util
A collection of utility methods used throughout Figroll
Public Class Methods
normalize(key)
click to toggle source
Normalize a given key to the format generally used for environment variable names. @param key [String, Symbol] the key to normalize @return [String] the normalized key
# File lib/figroll/util.rb, line 10 def self.normalize(key) key.to_s.upcase.gsub(/\s+/, '_') end