summaryrefslogtreecommitdiff
path: root/examples/color_scheme.rb
diff options
context:
space:
mode:
Diffstat (limited to 'examples/color_scheme.rb')
-rw-r--r--examples/color_scheme.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/color_scheme.rb b/examples/color_scheme.rb
index cde2575..215a595 100644
--- a/examples/color_scheme.rb
+++ b/examples/color_scheme.rb
@@ -11,8 +11,8 @@ require "highline/import"
# Create a color scheme, naming color patterns with symbol names.
ft = HighLine::ColorScheme.new do |cs|
- cs[:headline] = %i[bold yellow on_black]
- cs[:horizontal_line] = %i[bold white on_blue]
+ cs[:headline] = [:bold, :yellow, :on_black]
+ cs[:horizontal_line] = [:bold, :white, :on_blue]
cs[:even_row] = [:green]
cs[:odd_row] = [:magenta]
end