Move spacer to a function

This commit is contained in:
g0tmi1k
2018-05-11 18:07:57 +01:00
parent 285b1a1733
commit 1d0128af72
2 changed files with 29 additions and 24 deletions

View File

@@ -191,6 +191,11 @@ def banner
puts
end
# Space out sections
def spacer
puts " - - - - -"
end
def xml(file)
Nokogiri::XML(File.open(file)) do |config|
config.noblanks