Also, I use (Symbol | String) type in the attr parameter of these methods instead of interned because RBS has been decided on using internal instead of (Symbol | String) or (String | Symbol) but that hasn't been released yet. (https://github.com/ruby/rbs/pull/1499)
So. I added TODO comments and will fix them after releasing the interned keyword.
This PR adds types to
attr_internal_**
methods which is written in active_support/core_ext/module/attr_internal.rbAlso, I use
(Symbol | String)
type in the attr parameter of these methods instead ofinterned
because RBS has been decided on usinginternal
instead of (Symbol | String) or (String | Symbol) but that hasn't been released yet. (https://github.com/ruby/rbs/pull/1499)So. I added TODO comments and will fix them after releasing the
interned
keyword.