module TravianBot::Application::Display
Public Instance Methods
h1(text)
click to toggle source
# File lib/travian_bot/application/display.rb, line 10 def h1(text) puts ' ' puts "#{text}".red puts "=".red * text.length puts ' ' end
h2(text)
click to toggle source
# File lib/travian_bot/application/display.rb, line 17 def h2(text) puts "#{text}".yellow puts "-".yellow * text.length end
new_line()
click to toggle source
# File lib/travian_bot/application/display.rb, line 30 def new_line puts ' ' end
text(text)
click to toggle source
# File lib/travian_bot/application/display.rb, line 22 def text(text) puts text.to_s.green end
warning(text)
click to toggle source
# File lib/travian_bot/application/display.rb, line 26 def warning(text) puts text.to_s.red end