class Hippo::Environment

Public Instance Methods

development?() click to toggle source
# File lib/hippo/environment.rb, line 7
def development?
    Hippo.config.environment == :development
end
production?() click to toggle source
# File lib/hippo/environment.rb, line 10
def production?
    Hippo.config.environment == :production
end
test?() click to toggle source
# File lib/hippo/environment.rb, line 4
def test?
    Hippo.config.environment == :test
end
to_s() click to toggle source
# File lib/hippo/environment.rb, line 13
def to_s
    Hippo.config.environment.to_s
end