From 1ce0906b3480702085d4596dbb4758c115ab298f Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 13:10:32 +0000 Subject: Don't use parenthesis aroudn conditions in an if. --- lib/custodian/util/bytemark.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/util/bytemark.rb') diff --git a/lib/custodian/util/bytemark.rb b/lib/custodian/util/bytemark.rb index c821b18..07e5684 100644 --- a/lib/custodian/util/bytemark.rb +++ b/lib/custodian/util/bytemark.rb @@ -29,7 +29,7 @@ module Custodian def self.inside?( target ) inside = false - if ( BYTEMARK_RANGES.any?{|range| range.include?(IPAddr.new(target))} ) + if BYTEMARK_RANGES.any?{|range| range.include?(IPAddr.new(target))} inside = true end -- cgit v1.2.1