class Spectator::Formatting::BroadcastFormatter
Overview
Reports events to multiple other formatters. Events received by this formatter will be sent to others.
Defined in:
spectator/formatting/broadcast_formatter.crConstructors
- 
        .new(formatters : Enumerable(Formatter))
        
          Creates the broadcast formatter. 
Instance Method Summary
- 
        #close
        
          Forwards the event to other formatters. 
- 
        #dump_failures(notification)
        
          Forwards the event to other formatters. 
- 
        #dump_pending(notification)
        
          Forwards the event to other formatters. 
- 
        #dump_profile(notification)
        
          Forwards the event to other formatters. 
- 
        #dump_summary(notification)
        
          Forwards the event to other formatters. 
- 
        #example_error(notification)
        
          Forwards the event to other formatters. 
- 
        #example_failed(notification)
        
          Forwards the event to other formatters. 
- 
        #example_finished(notification)
        
          Forwards the event to other formatters. 
- 
        #example_passed(notification)
        
          Forwards the event to other formatters. 
- 
        #example_pending(notification)
        
          Forwards the event to other formatters. 
- 
        #example_started(notification)
        
          Forwards the event to other formatters. 
- 
        #message(notification)
        
          Forwards the event to other formatters. 
- 
        #start(notification)
        
          Forwards the event to other formatters. 
- 
        #start_dump
        
          Forwards the event to other formatters. 
- 
        #stop
        
          Forwards the event to other formatters. 
Instance methods inherited from class Spectator::Formatting::Formatter
  
  
    
      close
    close, 
    
  
    
      dump_failures(_notification)
    dump_failures, 
    
  
    
      dump_pending(_notification)
    dump_pending, 
    
  
    
      dump_profile(_notification)
    dump_profile, 
    
  
    
      dump_summary(_notification)
    dump_summary, 
    
  
    
      example_error(_notification)
    example_error, 
    
  
    
      example_failed(_notification)
    example_failed, 
    
  
    
      example_finished(_notification)
    example_finished, 
    
  
    
      example_passed(_notification)
    example_passed, 
    
  
    
      example_pending(_notification)
    example_pending, 
    
  
    
      example_started(_notification)
    example_started, 
    
  
    
      message(_notification)
    message, 
    
  
    
      start(_notification)
    start, 
    
  
    
      start_dump
    start_dump, 
    
  
    
      stop
    stop
    
  
    
    
  
    
    
    
  
    
  Instance methods inherited from class Object
  
  
    
      should(matcher, message = nil)
    should, 
    
  
    
      should_eventually(matcher, message = nil)
    should_eventually, 
    
  
    
      should_never(matcher, message = nil)
    should_never, 
    
  
    
      should_not(matcher, message = nil)
    should_not
    
  
    
    
  
Constructor Detail
Creates the broadcast formatter. Takes a collection of formatters to pass events along to.