Sha256: 001df1f013161d2ca7fe984eff02ff8de0b4d9e3684316913710d1476b6c243b
Contents?: true
Size: 468 Bytes
Versions: 9
Compression:
Stored size: 468 Bytes
Contents
module Hippo class Environment def test? Hippo.config.environment == :test end def development? Hippo.config.environment == :development end def production? Hippo.config.environment == :production end def to_s Hippo.config.environment.to_s end end # @return [Environment] def self.env @environment ||= Environment.new end end
Version data entries
9 entries across 9 versions & 1 rubygems