class Spec::Runner::Formatter::BaseTextFormatter

def initialize(options, where)

+where+ is exected to be an IO (or an object that responds to #puts and #write).
String, output will be written to the File with that name, otherwise
Creates a new instance that will write to +where+. If +where+ is a
def initialize(options, where)
  super
  if where.is_a?(String)
    @output = File.open(where, 'w')
  else
    @output = where
  end
  @pending_examples = []
end