I'm trying to make use of T::Struct to avoid some boilerplate in a class: https://github.com/andyw8/codeclimate-engine-rb/pull/13/commits/d1fd72e22a4b9737ef2fe
I have this method: def current_organization return @current_organization if defined?(@current_organization) subdomain = request.subdomain.to_s r
Is there a way to inspect the type notations in ruby/sorbet? I actually want to display those values in a form somewhere and instead of hardcoding in values lik
This is similar to my question in How can I resolve sorbet error: "Use of undeclared variable"?, but for constants. I am experimenting with adding sorbet type i
This is similar to my question in How can I resolve sorbet error: "Use of undeclared variable"?, but for constants. I am experimenting with adding sorbet type i