lib/secret_config/setting_interpolator.rb
# Empty values return nil which removes the key entirely from the config
Empty values return nil which removes the key entirely from the config
Empty values return nil which removes the key entirely from the config
def select(*values)
      if values.size < 2
        raise(ConfigurationError, "Must supply at least 2 options when using select: #{values.inspect}")
      end
      values[SecureRandom.random_number(values.count)]
    end
def select ( * values ) if values . size < 2 raise ( ConfigurationError , "Must supply at least 2 options when using select: #{values.inspect}" ) end values [ SecureRandom . random_number ( values . count ) ] end
Empty values return nil which removes the key entirely from the config
Empty values return nil which removes the key entirely from the config
values
<not_specific>