lib/no_stdout.rb in davidlee-state-fu-0.3.1 vs lib/no_stdout.rb in davidlee-state-fu-0.10.0
- old
+ new
@@ -1,10 +1,10 @@
require 'stringio'
# a module for suppressing or capturing STDOUT or STDERR.
# useful when shelling out to "noisy" applications or to suppress
# output during tests.
-module NoStdout
+module NoStdout #:nodoc:all
module InstanceMethods
# Suppresses or redirects STDOUT inside the given block.
# supply an IO of your own to capture STDOUT, otherwise it's put
# in a new StringIO object.