diff options
author | James Hannah <james.hannah@bytemark.co.uk> | 2014-10-13 14:44:45 +0100 |
---|---|---|
committer | James Hannah <james.hannah@bytemark.co.uk> | 2014-10-13 14:44:45 +0100 |
commit | 0c213b3b073588b56f008ca301172be640eaad9b (patch) | |
tree | 73f64b49df3ac379d4be60b2b9827021714c3dbd | |
parent | 73f38da032a5ce21252fa26b3df3b779e8010396 (diff) |
Remove lines which are just whitespace before parsing
-rw-r--r-- | lib/custodian/parser.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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. # |