zeus.ugent.be/lib/helpers/environment.rb
2016-11-21 14:17:29 +01:00

9 lines
127 B
Ruby

module EnvironmentHelper
def production?
ENV['NANOC_ENV'] == 'prod'
end
def development?
!production?
end
end