lib/cliutils/pretty-io.rb in cliutils-1.2.1 vs lib/cliutils/pretty-io.rb in cliutils-1.2.2

- old
+ new

@@ -31,10 +31,10 @@ end # Displays a chart of all the possible ANSI foreground # and background color combinations. # @return [void] - def color_chart + def self.color_chart [0, 1, 4, 5, 7].each do |attr| puts '----------------------------------------------------------------' puts "ESC[#{attr};Foreground;Background" 30.upto(37) do |fg| 40.upto(47) do |bg| \ No newline at end of file