From f08f62c52ca84e76ca21bbc844356f63b1890561 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 18 Feb 2015 10:29:39 +0000 Subject: Minor commenting/whitespace fixups. No functional changes. --- lib/custodian/settings.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/custodian/settings.rb') diff --git a/lib/custodian/settings.rb b/lib/custodian/settings.rb index bef2977..b2bdb04 100644 --- a/lib/custodian/settings.rb +++ b/lib/custodian/settings.rb @@ -8,8 +8,8 @@ require 'singleton' # # The configuration file is optional, and we have defaults for every value. # -# This class is a singleton to avoid having to re-parse the configuration file more than -# once per program-launch. +# This class is a singleton to avoid having to re-parse the configuration +# file more than once per program-launch. # module Custodian @@ -48,7 +48,7 @@ module Custodian # # Load and "parse" the key=value content. # - File.open( file, "r").each_line do |line| + File.open( file, "r" ).each_line do |line| next if ( line.nil? || line =~ /^#/ ) if ( line =~ /^(.*)=(.*)$/ ) key = $1.dup -- cgit v1.2.1