class Radical::Env
Public Class Methods
development?()
click to toggle source
# File lib/radical/env.rb, line 11 def development? radical_env.downcase == 'development' end
production?()
click to toggle source
# File lib/radical/env.rb, line 19 def production? radical_env.downcase == 'production' end
radical_env()
click to toggle source
# File lib/radical/env.rb, line 7 def radical_env ENV['RADICAL_ENV'] || '' end
test?()
click to toggle source
# File lib/radical/env.rb, line 15 def test? radical_env.downcase == 'test' end