Method: RSpec::Core::Formatters::BaseFormatter#initialize
- Defined in:
- lib/rspec/core/formatters/base_formatter.rb
permalink #initialize(output) ⇒ BaseFormatter
Returns a new instance of BaseFormatter.
23 24 25 26 |
# File 'lib/rspec/core/formatters/base_formatter.rb', line 23 def initialize(output) @output = output || StringIO.new @example_group = nil end |