Sha256: b88ecb597241e3f7d1ca2aa385d097e9e5e3968c6a47e2c9273729bb55467f87
Contents?: true
Size: 560 Bytes
Versions: 1
Compression:
Stored size: 560 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 ' ' end def h2(text) puts "#{text}".yellow puts "-".yellow * text.length 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.3.0 | lib/travian_bot/application/display.rb |