Sha256: 3e920fc08495cd5ab14271fdd9ba8ff55240b8912a8db46a5b1adf952e870dd8
Contents?: true
Size: 721 Bytes
Versions: 3
Compression:
Stored size: 721 Bytes
Contents
# ANSI Module provides a Bezel interface as follows: # # ANSI = lib('ansi', '1.2.6') # # module MyAPP # include ANSI # end # # Examples # # def hello_world # puts ansi("Hello World", :red) # end # # # automatically included with ANSI 1.3. # def ansi(string, *codes) # ANSI::Code.ansi(string, *codes) # end # # Or # # def hello_world # puts "Hello World".ansi(:red) # end # # NOTE: Core extensions need stable interfaces! # module ANSI; end import 'ansi/code' import 'ansi/bbcode' import 'ansi/columns' import 'ansi/diff' import 'ansi/logger' import 'ansi/mixin' import 'ansi/progressbar' import 'ansi/string' import 'ansi/table' import 'ansi/terminal'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ansi-1.4.1 | lib/ansi.rbz |
ansi-1.4.0 | lib/ansi.rbz |
ansi-1.3.0 | lib/ansi.rbz |