Class: Recipes::EnvironmentVariables

Inherits:
Rails::AppBuilder
  • Object
show all
Defined in:
lib/potassium/recipes/environment_variables.rb

Instance Method Summary collapse

Instance Method Details

#createObject



2
3
4
5
6
7
# File 'lib/potassium/recipes/environment_variables.rb', line 2

def create
  template '../assets/.env.test.erb', '.env.test'
  copy_file '../assets/lib/environment_variables.rb', 'lib/environment_variables.rb'

  application(before_configuration_require)
end