module Msg
Public Instance Methods
err(text)
click to toggle source
# File lib/spior/msg.rb, line 14 def err(text) puts Rainbow("[").red + Rainbow("-").white + Rainbow("]").red + " " + text end
for_no_systemd()
click to toggle source
# File lib/spior/msg.rb, line 29 def for_no_systemd puts "Init system is not yet supported. You can contribute to add it." end
head()
click to toggle source
# File lib/spior/msg.rb, line 6 def head puts Rainbow("------------------------------------------------").cyan end
info(text)
click to toggle source
# File lib/spior/msg.rb, line 18 def info(text) puts Rainbow("-").blue + Rainbow("-").white + Rainbow("-").blue + " " + text + " " + Rainbow("-").blue + Rainbow("-").white + Rainbow("-").blue end
p(text)
click to toggle source
# File lib/spior/msg.rb, line 10 def p(text) puts Rainbow("[").cyan + Rainbow("+").white + Rainbow("]").cyan + " " + text end
report(text)
click to toggle source
# File lib/spior/msg.rb, line 22 def report(text) puts "" info text puts "Please, report this issue at https://github.com/szorfein/spior/issues" puts "" end