Module Spork::CustomIOStreams
In: lib/spork/custom_io_streams.rb

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

Methods

included   stderr   stdout  

Classes and Modules

Module Spork::CustomIOStreams::ClassMethods

Public Class methods

[Source]

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

Public Instance methods

[Source]

# File lib/spork/custom_io_streams.rb, line 8
  def stderr
    self.class.stderr
  end

[Source]

# File lib/spork/custom_io_streams.rb, line 12
  def stdout
    self.class.stdout
  end

[Validate]