[activesupport] More accurate type for #try by pocke · Pull Request #181 · ruby/gem_rbs_collection

This PR improves try method types. Note that the type definition of NilClass#try is more strict than the implementation. nil.try raises no error but the type definition rejects it. I think the stri...