module Bacon
Copyright (C) 2007, 2008, 2012 Christian Neukirchen <purl.org/net/chneukirchen>
Bacon
is freely distributable under the terms of an MIT-style license. See COPYING or www.opensource.org/licenses/mit-license.php.
Constants
- Backtraces
- Counter
- ErrorLog
- RestrictContext
- RestrictName
- VERSION
Public Class Methods
summary_on_exit()
click to toggle source
# File lib/bacon.rb, line 24 def self.summary_on_exit return if Counter[:installed_summary] > 0 @timer = Time.now at_exit { handle_summary if $! raise $! elsif Counter[:errors] + Counter[:failed] > 0 exit 1 end } Counter[:installed_summary] += 1 end
Also aliased as: summary_at_exit