specific type annotation Constant type declaration Instance variable type declaration Typing polymorphic methods Revised type inference algorithm nil type Casting to any type masgn support Scaffolding type definitions
Type System Generics, union type, any type, context sensitive typing Subtyping Structural Nominal Signature Special Syntax in Another File Ruby code Type Annotation Comment Ruby code Performance Slow Fast
methods (has_many) or even builtin ones (attr_reader) • Generate signatures by some tools with Rails knowledge • A plugin to generate signature from AR models? • Smarter scaffold command?