From 49aa18ef4cd78c911208af6a002d42bc18db4883 Mon Sep 17 00:00:00 2001 From: Firstname Lastname Date: Fri, 4 Dec 2020 21:36:11 +0900 Subject: [PATCH] Add out put GitHub --- lib/fizzbuzz.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/fizzbuzz.rb b/lib/fizzbuzz.rb index 4746a88..441fe73 100644 --- a/lib/fizzbuzz.rb +++ b/lib/fizzbuzz.rb @@ -6,6 +6,8 @@ def calculate number 'fizz' elsif number % 5 == 0 'buzz' + elsif number % 7 == 0 + 'git hub' else number end