class Godmode::Generators::EnvGenerator
Public Instance Methods
install()
click to toggle source
# File lib/generators/godmode/env_generator.rb, line 7 def install gem 'dotenv-rails', :groups => [:development, :test] template "env/.env", "env" var = ask "What is the environment variable?" value = ask "What is the value?" inject_into_file "env", "aaa" end