A sample ColorScheme.
Builds the sample scheme with settings for :critical, :error, :warning, :notice, :info, :debug, :row_even, and :row_odd colors.
# File lib/highline/color_scheme.rb, line 104 104: def initialize( h = nil ) 105: scheme = { 106: :critical => [ :yellow, :on_red ], 107: :error => [ :bold, :red ], 108: :warning => [ :bold, :yellow ], 109: :notice => [ :bold, :magenta ], 110: :info => [ :bold, :cyan ], 111: :debug => [ :bold, :green ], 112: :row_even => [ :cyan ], 113: :row_odd => [ :magenta ] 114: } 115: super(scheme) 116: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.