From e950dc3c5163f1305deffede93e77209e90ecacb Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 13:15:06 +0000 Subject: Do not terminate expressions with ";". Ruby is not Perl, much as I sometimes wish it were. --- lib/custodian/util/timespan.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/util') diff --git a/lib/custodian/util/timespan.rb b/lib/custodian/util/timespan.rb index b3cb647..36e8d9e 100644 --- a/lib/custodian/util/timespan.rb +++ b/lib/custodian/util/timespan.rb @@ -19,7 +19,7 @@ module Custodian # if ( desc.kind_of? String ) && ( desc =~ /([0-9]+)pm$/i ) - desc = $1.dup.to_i + 12; + desc = $1.dup.to_i + 12 end # -- cgit v1.2.1