Ruby: Add support for method calls with trailing dots

Fixes #152

I'm curious about the way you use the visual tests. Do you have some tool to make sure you won't break anything somewhere unrelated? I used ImageMagick to create a diff between the before and after screenshots but that's kind of a slow process.