Sha256: 026e7ba1444d10b7af3bff85455d2ec8185fee72ee5fc6b0fc8c1f8d360e9f9e
Contents?: true
Size: 373 Bytes
Versions: 43
Compression:
Stored size: 373 Bytes
Contents
class Volt class Environment def initialize @env = ENV['VOLT_ENV'] || 'development' end def ==(val) @env == val end def production? self.==('production') end def test? self.==('test') end def development? self.==('development') end def inspect @env.inspect end end end
Version data entries
43 entries across 43 versions & 1 rubygems