Sha256: 626021ec1025137ef57df8b5f05259605afe81b30dd0cd78d5787d0ba469fe00
Contents?: true
Size: 251 Bytes
Versions: 3
Compression:
Stored size: 251 Bytes
Contents
module DeepTest module ObjectExtension def capture_stdout old_stdout, $stdout = $stdout, StringIO.new yield $stdout.string ensure $stdout = old_stdout end end end Object.send :include, DeepTest::ObjectExtension
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
deep_test-1.0.0 | lib/deep_test/extensions/object_extension.rb |
deep_test-1.0.1 | lib/deep_test/extensions/object_extension.rb |
deep_test-1.0.2 | lib/deep_test/extensions/object_extension.rb |