Fixed warnings pointed by Flymake-Ruby mode.