Sha256: 4f8e7d8af9ec5ad55001d50ec6613cb118b1221ead69ec9f4cbbc489eadeef0f
Contents?: true
Size: 229 Bytes
Versions: 19
Compression:
Stored size: 229 Bytes
Contents
module Guignol def env @env ||= Env.new end private class Env def initialize @env = ENV['GUIGNOL_ENV'] || 'development' end def test? @env == 'test' end end Guignol.extend(self) end
Version data entries
19 entries across 19 versions & 1 rubygems