summaryrefslogtreecommitdiff
path: root/lib/custodian/util/timespan.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:15:06 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:15:06 +0000
commit48e66ecec133ef348c0a46b80998230116121f3b (patch)
tree98484eb8680894990229e77e9f3004fed6836017 /lib/custodian/util/timespan.rb
parent82171c3406a790ac9740c439e2aafce21853e0a0 (diff)
Do not terminate expressions with ";".
Ruby is not Perl, much as I sometimes wish it were.
Diffstat (limited to 'lib/custodian/util/timespan.rb')
-rw-r--r--lib/custodian/util/timespan.rb2
1 files changed, 1 insertions, 1 deletions
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
#