From e5d8c9a7301a0e5c219feb8218e3fff35475a732 Mon Sep 17 00:00:00 2001 From: "Abinoam P. Marques Jr" Date: Sun, 24 Sep 2017 22:23:10 -0300 Subject: Revert %i use for 1.9 compatibility --- examples/color_scheme.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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 -- cgit v1.2.1