diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:15:06 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:15:06 +0000 |
commit | e950dc3c5163f1305deffede93e77209e90ecacb (patch) | |
tree | e580fe21c6cd560ffcbb1452ccd618dc74faeefd /lib/custodian/util/timespan.rb | |
parent | 3acb2e1be6ddeb421efbd1b3598c1ed547d1b38b (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.rb | 2 |
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 # |