Richard Cole wrote:
> the compiler. Some RubyDocs seem to have type declairations, e.g. 
> RMagick, does anyone know off hand how these come about?

In RMagick's case, they were painstakingly inserted by hand by the 
library writer, i.e. me.