instance method env

Ruby on Rails edge

Since edge

Signature

env()

No documentation comment.

Source
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 205
    def env
      return if options[:pretend] || options[:dummy_app]

      template "env", ".env"
    end

Defined in railties/lib/rails/generators/rails/app/app_generator.rb line 205 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::AppBuilder

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close