Sha256: 023eabe9bb9733ec2f932d4fe499b1eddd88dd79719171fa66e6e25a3c557952

Contents?: true

Size: 179 Bytes

Versions: 2

Compression:

Stored size: 179 Bytes

Contents

#!/usr/bin/env ruby

require "safely"

log_dir = "/tmp"
Safely::Backtrace.trace_directory = log_dir
Safely::Backtrace.enable!

raise RuntimeError.new("Have a peek in #{log_dir}")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
safely-0.3.2 examples/backtrace.rb
safely-0.3.1 examples/backtrace.rb