Sha256: e4c29d86dbf6dd0256cbed0c4ca5616cf5ff66d72a8ad54838806f48fad6d615

Contents?: true

Size: 672 Bytes

Versions: 2

Compression:

Stored size: 672 Bytes

Contents

$:.unshift(File.dirname(__FILE__)) unless \
    $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

module Sandbox
  class << self

    def verbosity
      @verbosity ||= 0
    end

    def increase_verbosity
      @verbosity = verbosity + 1
    end

    def decrease_verbosity
      @verbosity = verbosity - 1
    end

    def quiet?
      verbosity < 0
    end

    def really_quiet?
      verbosity < -1
    end

    def verbose?
      verbosity > 0
    end

    def really_verbose?
      verbosity > 1
    end

  end
end

require 'sandbox/version'
require 'sandbox/errors'
require 'sandbox/output'
require 'sandbox/installer'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-virtualenv-0.5.1 lib/sandbox.rb
ruby-virtualenv-0.5.0 lib/sandbox.rb