lib/savvy/utility.rb
def valid_env_vars?(vars)
      return false unless vars.kind_of?(Array)

      vars.all? do |var|
        valid_env_var? var
      end
    end
# Validate that the provided value is a one-dimensional
# array of strings that may or may not exist in `ENV`.
#
# @param [<String>] vars
Validate that the provided value is a one-dimensional
array of strings that may or may not exist in `ENV`.
Validate that the provided value is a one - dimensional array of strings that may or may not exist in ` ENV ` .
def valid_env_vars?(vars)
      return false unless vars.kind_of?(Array)
      vars.all? do |var|
        valid_env_var? var
      end
    end
def valid_env_vars? ( vars ) return false unless vars . kind_of? ( Array ) vars . all? do | var | valid_env_var? var end end
Validate that the provided value is a one-dimensional
array of strings that may or may not exist in `ENV`.
Validate that the provided value is a one - dimensional array of strings that may or may not exist in ` ENV ` .
vars
None