9 lines
127 B
Ruby
9 lines
127 B
Ruby
module EnvironmentHelper
|
|
def production?
|
|
ENV['NANOC_ENV'] == 'prod'
|
|
end
|
|
|
|
def development?
|
|
!production?
|
|
end
|
|
end
|