Spork::CustomIOStreams

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

Public Class Methods

included(klass) click to toggle source
   # File lib/spork/custom_io_streams.rb, line 4
4:   def self.included(klass)
5:     klass.send(:extend, ::Spork::CustomIOStreams::ClassMethods)
6:   end

Public Instance Methods

stderr() click to toggle source
    # File lib/spork/custom_io_streams.rb, line 8
 8:   def stderr
 9:     self.class.stderr
10:   end
stdout() click to toggle source
    # File lib/spork/custom_io_streams.rb, line 12
12:   def stdout
13:     self.class.stdout
14:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.