Method: App.env

Defined in:
lib/vex/base/app.rb

.envObject



14
15
16
17
18
19
20
21
22
# File 'lib/vex/base/app.rb', line 14

def self.env
  if rails?
    RAILS_ENV
  elsif defined?(APP_ENV)
    APP_ENV
  else
    "production"
  end
end