Sha256: 1a78b3945d996e97c8cb06efd8fca8647bcb1f5eed691b0550b0f02dbdb9ce95

Contents?: true

Size: 292 Bytes

Versions: 7

Compression:

Stored size: 292 Bytes

Contents

require 'rubygems'
require 'riot'

require 'riot_notifier'

Riot.reporter = RiotNotifier

module Riot
  class Situation
    # Create backtrace for this exception.
    def bt!(error)
      return error if error.backtrace
      raise error
    rescue error.class => e
      e
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
riot_notifier-0.5.0 test/helper.rb
riot_notifier-0.4.0 test/helper.rb
riot_notifier-0.3.0 test/helper.rb
riot_notifier-0.2.0 test/helper.rb
riot_notifier-0.1.1 test/helper.rb
riot_notifier-0.0.8 test/helper.rb
riot_notifier-0.0.7 test/helper.rb