Module: Recording
- Defined in:
- lib/relevance/tarantula/recording.rb
Class Method Summary collapse
Class Method Details
.stderr ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/relevance/tarantula/recording.rb', line 2 def self.stderr $stderr = recorder = StringIO.new begin yield ensure $stderr = STDERR end recorder.rewind recorder.read end |