From 0c213b3b073588b56f008ca301172be640eaad9b Mon Sep 17 00:00:00 2001 From: James Hannah Date: Mon, 13 Oct 2014 14:44:45 +0100 Subject: Remove lines which are just whitespace before parsing --- lib/custodian/parser.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/custodian/parser.rb b/lib/custodian/parser.rb index 6b71541..d32b9c9 100644 --- a/lib/custodian/parser.rb +++ b/lib/custodian/parser.rb @@ -248,6 +248,8 @@ module Custodian line.chomp! if ( !line.nil? ) + line.strip! if ( !line.nil? ) + # # A blank line, or a comment may be skipped. # -- cgit v1.2.1