method

environment

environment(data=nil, options={}, &block)
public

Adds a line inside the Application class for config/application.rb.

If options :env is specified, the line is appended to the corresponding file in config/environments.