Extract doctests from ruby files