From b2f8fc706564ba71bd7b067055d936dfe7c5b010 Mon Sep 17 00:00:00 2001 From: Dmitry Ustalov Date: Mon, 13 May 2013 09:16:22 +0600 Subject: [PATCH] DAFUQ I just read [ci skip] --- lib/tasks/evaluate.rake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/tasks/evaluate.rake b/lib/tasks/evaluate.rake index 3b56ce9..6898864 100644 --- a/lib/tasks/evaluate.rake +++ b/lib/tasks/evaluate.rake @@ -13,9 +13,7 @@ CASES = [ def check!(errors, correct, total, lemma, gender, gcase, expected) inflector = Petrovich.new(gender) - inflection = begin - UnicodeUtils.upcase(inflector.lastname(lemma, gcase)) - end + inflection = UnicodeUtils.upcase(inflector.lastname(lemma, gcase)) total[[gender, gcase]] += 1