From: Neil Smith Date: Thu, 16 Feb 2017 15:55:25 +0000 (+0000) Subject: Fixed log closing bug X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=fc973f7dd49d380af62cd38232f9ee82061fdbc5;p=project-euler.git Fixed log closing bug --- diff --git a/euler21.rb b/euler21.rb index 4adec38..7ca8e5d 100644 --- a/euler21.rb +++ b/euler21.rb @@ -29,4 +29,4 @@ if __FILE__==$0 puts sum_of_amicable_pairs 10000 end -log.close \ No newline at end of file +$log.close