aboutsummaryrefslogblamecommitdiffstats
path: root/activesupport/test/dependencies/raises_exception_without_blame_file.rb
blob: 3a6533cd3a11d0f7d0228ef8ddd52601afefa2f3 (plain) (tree)
1
2
3
4
5
6
7
                             
 
                                               



                            
# frozen_string_literal: true

exception = Exception.new("I am not blamable!")
class << exception
  undef_method(:blame_file!)
end
raise exception