zeus.ugent.be/lib/helpers/environment.rb

9 lines
123 B
Ruby

module EnvironmentHelper
def production?
ENV['ZEUS_PRODUCTION']
end
def development?
!production?
end
end