Handle method names with a capital initial.

This is legal ruby even through the method name is a constant
rather than a normal identifier. Fixes #144.
Merge pull request #146 from jonas054/fix_single_line_methods_bug

Handle method names with a capital initial.