Class: RSpec::Core::Formatters::Loader Private
- Inherits:
 - 
      Object
        
- Object
 - RSpec::Core::Formatters::Loader
 
 - Defined in:
 - lib/rspec/core/formatters.rb
 
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
RSpec::Core::Formatters::Loader is an internal class for
managing formatters used by a particular configuration. It is
not expected to be used directly, but only through the configuration
interface.
Instance Attribute Summary (collapse)
- 
  
      - (Array) formatters 
  
      readonly
  private
    
The loaded formatters.
 - 
  
      - (Reporter) reporter 
  
      readonly
  private
    
The reporter.
 
Instance Method Summary (collapse)
- 
  
      - (Loader) initialize(reporter) 
  
    constructor
  private
    
A new instance of Loader.
 
Constructor Details
- (Loader) initialize(reporter)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
A new instance of Loader
      70 71 72 73 74 75  | 
    
      # File 'lib/rspec/core/formatters.rb', line 70 def initialize(reporter) @formatters = [] @reporter = reporter @setup = false @default_formatter = 'progress' end  | 
  
Instance Attribute Details
- (Array) formatters (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The loaded formatters
      78 79 80  | 
    
      # File 'lib/rspec/core/formatters.rb', line 78 def formatters @formatters end  | 
  
- (Reporter) reporter (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The reporter
      81 82 83  | 
    
      # File 'lib/rspec/core/formatters.rb', line 81 def reporter @reporter end  |