Sha256: 8f5eb847a5781cebe67bf946f675351d99ebc42cca450eeff0e281e876368e58

Contents?: true

Size: 239 Bytes

Versions: 3

Compression:

Stored size: 239 Bytes

Contents

$:.unshift File.expand_path('../../../lib', __FILE__)

require 'safely'

Safely::Backtrace.trace_directory = File.expand_path('../tmp', __FILE__)
Safely::Backtrace.enable!

safely do
  raise "Oops :/"
end

Safely::Backtrace.safe_shutdown!

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
safely-0.3.2 spec/backtrace/safe.rb
safely-0.3.1 spec/backtrace/safe.rb
safely-0.3.0 spec/backtrace/safe.rb