aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/dependencies/raises_exception_without_blame_file.rb
blob: 7fb2a5c8bc85bee6e06900f5744d9b7befb08e11 (plain) (blame)
1
2
3
4
5
6
# frozen_string_literal: true
exception = Exception.new("I am not blamable!")
class << exception
  undef_method(:blame_file!)
end
raise exception