docstring support added for python and ruby

suggested by Matt Newville