From 326e3cda5954165848b8089613cedfd74b1760a1 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Sat, 27 Dec 2014 21:11:18 +0600 Subject: [PATCH] Should use << for string concatenation in Ruby --- plugins/category_generator.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/category_generator.rb b/plugins/category_generator.rb index 9beef9b..769a55b 100644 --- a/plugins/category_generator.rb +++ b/plugins/category_generator.rb @@ -174,8 +174,8 @@ ERR # Returns string def date_to_html_string(date) result = '' + date.strftime('%b').upcase + ' ' - result += date.strftime('%d ') - result += date.strftime('%Y ') + result << date.strftime('%d ') + result << date.strftime('%Y ') result end