Sha256: ea1a4d40ab44447dbd2f5a7c02af58a790459f3654fb95108251978caaa1bb72
Contents?: true
Size: 594 Bytes
Versions: 1
Compression:
Stored size: 594 Bytes
Contents
require 'term/ansicolor' class String include Term::ANSIColor end class TravianBot class Application module Display def h1(text) puts ' ' puts "#{text}".red puts "=".red * text.length puts ' ' puts ' ' end def h2(text) puts "#{text}".yellow puts "-".yellow * text.length puts ' ' end def text(text) puts text.to_s.green end def warning(text) puts text.to_s.red end def new_line puts ' ' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
travian_bot-0.2.4 | lib/travian_bot/application/display.rb |