class XSpec::Notifier::Composite
Attributes
notifiers[R]
Public Class Methods
new(*notifiers)
click to toggle source
# File lib/xspec/notifiers.rb, line 30 def initialize(*notifiers) @notifiers = notifiers end
Public Instance Methods
evaluate_finish(*args)
click to toggle source
# File lib/xspec/notifiers.rb, line 42 def evaluate_finish(*args) notifiers.each {|x| x.evaluate_finish(*args) } end
evaluate_start(*args)
click to toggle source
# File lib/xspec/notifiers.rb, line 38 def evaluate_start(*args) notifiers.each {|x| x.evaluate_start(*args) } end
run_finish()
click to toggle source
# File lib/xspec/notifiers.rb, line 46 def run_finish notifiers.map(&:run_finish).all? end
run_start(*args)
click to toggle source
# File lib/xspec/notifiers.rb, line 34 def run_start(*args) notifiers.each {|x| x.run_start(*args) } end