Added checks for old ruby. Otherwise there will be syntax errors

This commit is contained in:
Christian Mehlmauer
2013-03-17 22:05:34 +01:00
parent 5e36be4f63
commit 08f9d0e67a
4 changed files with 412 additions and 383 deletions

View File

@@ -124,10 +124,6 @@ def banner
puts ' Sponsored by the RandomStorm Open Source Initiative'
puts '_____________________________________________________'
puts
if RUBY_VERSION < '1.9'
puts '[WARNING] Ruby < 1.9 not officially supported, please upgrade.'
puts
end
end
def colorize(text, color_code)