Skip to content

Commit

Permalink
Merge pull request #19 from pocke/Avoid_exposing__Rails_backtrace_cle…
Browse files Browse the repository at this point in the history
…aner__type

Avoid exposing `Rails.backtrace_cleaner` type
  • Loading branch information
pocke committed Mar 20, 2024
2 parents 497e349 + 7a5be53 commit 7d56454
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions sig/_polyfill/rails.rbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Rails
def self.backtrace_cleaner: () -> untyped
end
4 changes: 0 additions & 4 deletions sig/polyfill.rbs → sig/interfaces.rbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
module Rails
def self.backtrace_cleaner: () -> untyped
end

module ActiveRecord::Originator
interface _ArelVisitor
def accept: (untyped, untyped) -> untyped
Expand Down

0 comments on commit 7d56454

Please sign in to comment.