This class is mainly used for testing. When included (and used), it gives us an opportunity to stub out the output streams used for a given class
# File lib/spork/custom_io_streams.rb, line 4 def self.included(klass) klass.send(:extend, ::Spork::CustomIOStreams::ClassMethods) end
# File lib/spork/custom_io_streams.rb, line 8 def stderr self.class.stderr end
# File lib/spork/custom_io_streams.rb, line 12 def stdout self.class.stdout end
[Validate]
Generated with the Darkfish Rdoc Generator 2.