diff options
author | Richard LeBer <richard.leber@gmail.com> | 2011-06-27 07:49:39 -0400 |
---|---|---|
committer | Richard LeBer <richard.leber@gmail.com> | 2011-06-27 07:49:39 -0400 |
commit | f853f4a534374ddb4df9f828fa63d3ef2d167d75 (patch) | |
tree | fe85107dd249844933148d355c633423f527ef5a /lib/highline/menu.rb | |
parent | 4e36b1f0ae519f32133f53296f9096ebb2c62067 (diff) | |
download | highline-f853f4a534374ddb4df9f828fa63d3ef2d167d75.tar.gz |
Refactor rgb colors using const_missing. Add rgb color tests. Bug fixes -- all tests now pass
Diffstat (limited to 'lib/highline/menu.rb')
-rw-r--r-- | lib/highline/menu.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/highline/menu.rb b/lib/highline/menu.rb index 3fdace8..c4daf37 100644 --- a/lib/highline/menu.rb +++ b/lib/highline/menu.rb @@ -178,7 +178,7 @@ class HighLine @index = style # Default settings. - if @index == :none or @index.is_a?(String) + if @index == :none or @index.is_a?(::String) @index_suffix = " " @select_by = :name end |