Sha256: 08c582655fd0fa4431b79627018d0adaa1c5f0dc3e73410ebacb3ed92dfd0830

Contents?: true

Size: 177 Bytes

Versions: 6

Compression:

Stored size: 177 Bytes

Contents

class XMP
  module Silencer
    def self.silently
      verbosity = $VERBOSE
      $VERBOSE = nil
      result = yield
      $VERBOSE = verbosity
      result
    end
  end
end

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
xmpfixed-0.2.3 lib/xmp/silencer.rb
xmp-fixed_prefix-0.2.2 lib/xmp/silencer.rb
xmp-fixed_prefix-0.2.1 lib/xmp/silencer.rb
xmp-0.2.0 lib/xmp/silencer.rb
xmp-0.1.1 lib/xmp/silencer.rb
xmp-0.1.0 lib/xmp/silencer.rb