fromRubyflow
1 day agoRuby on Rails
Static typing in Ruby only works if type narrowing reflects how we actually write Rub
Type Guard in Steep enables real type narrowing for union types, framework predicates like present?, and user-defined methods, improving Rails type checking.