Sha256: 3f4957d992ca8b3714196af3f07736537d1f6402ee063fefc0e11486ae343336

Contents?: true

Size: 210 Bytes

Versions: 13

Compression:

Stored size: 210 Bytes

Contents

databases = {
  "MySQL" => "mysql",
  "PostgreSQL" => "postgresql",
  "None, thanks" => "none"
}

database = databases.values[Ask.list("Which database are you using?", databases.keys)]

set :database, database

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
potassium-1.3.5 lib/potassium/templates/application/recipes/asks/database.rb
potassium-1.3.4 lib/potassium/templates/application/recipes/asks/database.rb
potassium-1.3.3 lib/potassium/templates/application/recipes/asks/database.rb
potassium-1.3.2 lib/potassium/templates/application/recipes/asks/database.rb
potassium-1.3.0 lib/potassium/templates/application/recipes/asks/database.rb
potassium-1.2.4 lib/potassium/templates/application/recipes/asks/database.rb
potassium-1.2.3 lib/potassium/templates/application/recipes/asks/database.rb
potassium-1.2.2 lib/potassium/templates/application/recipes/asks/database.rb
potassium-1.2.1 lib/potassium/templates/application/recipes/asks/database.rb
potassium-1.2.0 lib/potassium/templates/application/recipes/asks/database.rb
potassium-1.1.0 lib/potassium/templates/application/recipes/asks/database.rb
potassium-1.0.1 lib/potassium/templates/application/recipes/asks/database.rb
potassium-1.0.0 lib/potassium/templates/application/recipes/asks/database.rb