Module: XSpec::Notifier::Composable

Included in:
Character, ColoredDocumentation, Composite, FailuresAtEnd, Null, TimingsAtEnd
Defined in:
lib/xspec/notifiers.rb

Overview

Many notifiers play nice with others, and can be composed together in a way that each notifier will have its callback run in turn.

Instance Method Summary collapse

Instance Method Details

#+(other) ⇒ Object



22
23
24
# File 'lib/xspec/notifiers.rb', line 22

def +(other)
  Composite.new(self, other)
end