1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test/dependencies/raises_exception_without_blame_file.rb
2017-07-09 15:08:29 +03:00

6 lines
146 B
Ruby

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