diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-09-24 22:23:10 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-09-25 06:50:59 -0300 |
commit | e5d8c9a7301a0e5c219feb8218e3fff35475a732 (patch) | |
tree | 678009a68309cf8364abce448727d521ceb230a0 /examples | |
parent | 7e5df1b2848f8c2b4058f67398962ab123c97e95 (diff) | |
download | highline-e5d8c9a7301a0e5c219feb8218e3fff35475a732.tar.gz |
Revert %i use for 1.9 compatibility
Diffstat (limited to 'examples')
-rw-r--r-- | examples/color_scheme.rb | 4 |
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 |