Module: NoStdout

Defined in:
lib/support/no_stdout.rb

Overview

a module for suppressing or capturing STDOUT or STDERR. useful when shelling out to "noisy" applications or to suppress output during tests.

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary (collapse)

Class Method Details

+ (Object) included(klass)



50
51
52
53
54
# File 'lib/support/no_stdout.rb', line 50

def self.included klass
  klass.class_eval do
    include InstanceMethods
  end
end