Sha256: e33bf876a5bca65016a272393cd984fd9a8f595ee4adf306fed6ee5081991c99
Contents?: true
Size: 665 Bytes
Versions: 2
Compression:
Stored size: 665 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 |
---|---|
nkryptic-sandbox-0.2.3 | lib/sandbox.rb |
nkryptic-sandbox-0.2.4 | lib/sandbox.rb |