Skip to content

Commit

Permalink
[activesupport] Use class alias syntax for HashWithIndifferentAccess (r…
Browse files Browse the repository at this point in the history
  • Loading branch information
pocke authored and sw-square committed Jan 22, 2024
1 parent 3a7ac92 commit cd05f54
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gems/activesupport/6.0/activesupport-generated.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -7953,10 +7953,7 @@ module ActiveSupport
end
end

# NOTE: HashWithIndifferentAccess and ActiveSupport::HashWithIndifferentAccess are the same object
# but RBS doesn't have class alias syntax
class HashWithIndifferentAccess[T, U] < ActiveSupport::HashWithIndifferentAccess[T, U]
end
class HashWithIndifferentAccess = ActiveSupport::HashWithIndifferentAccess

module I18n
class Railtie < Rails::Railtie
Expand Down

0 comments on commit cd05f54

Please sign in to comment.