Sha256: ee3ee9a534d5b7505416ff26dca97a3eac1e491a755753c248127f2d53b82a42

Contents?: true

Size: 466 Bytes

Versions: 2

Compression:

Stored size: 466 Bytes

Contents

module Sandbox
  module Output
    
    def tell( msg )
      tell_unless_quiet( msg )
    end
    
    def tell_when_verbose( msg )
      puts msg if Sandbox.verbose?
    end
    
    def tell_when_really_verbose( msg )
      puts msg if Sandbox.really_verbose?
    end
    
    def tell_unless_quiet( msg )
      puts msg unless Sandbox.quiet?
    end
    
    def tell_unless_really_quiet( msg )
      puts msg unless Sandbox.really_quiet?
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nkryptic-sandbox-0.2.3 lib/sandbox/output.rb
nkryptic-sandbox-0.2.4 lib/sandbox/output.rb