Sha256: e0249d60512455f25aa653de3c02c43715659ad29e58648387045ac978f1250b

Contents?: true

Size: 171 Bytes

Versions: 5

Compression:

Stored size: 171 Bytes

Contents

module Mittsu
  DEBUG = ENV["DEBUG"] == "true"

  def self.debug?
    DEBUG
  end

  def self.env
    ENV["MITTSU_ENV"]
  end

  def self.test?
    env == 'test'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mittsu-0.5.0 lib/mittsu/utils.rb
mittsu-0.4.1 lib/mittsu/utils.rb
mittsu-0.4.0 lib/mittsu/utils.rb
mittsu-0.3.3 lib/mittsu/utils.rb
mittsu-0.3.2 lib/mittsu/utils.rb