diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-02-18 10:29:39 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-02-18 10:29:39 +0000 |
commit | 3025af459e28db9a7a1431660e5505d86d924d46 (patch) | |
tree | a6571f76f232493878983a5aedf5ce6a09b5582d /lib/custodian/settings.rb | |
parent | 4e4fb3d971bcc53e7958ba8ad42ad8413766f9d7 (diff) |
Minor commenting/whitespace fixups.
No functional changes.
Diffstat (limited to 'lib/custodian/settings.rb')
-rw-r--r-- | lib/custodian/settings.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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 |