summaryrefslogtreecommitdiff
path: root/lib/highline/menu.rb
diff options
context:
space:
mode:
authorRichard LeBer <richard.leber@gmail.com>2011-06-27 07:49:39 -0400
committerRichard LeBer <richard.leber@gmail.com>2011-06-27 07:49:39 -0400
commitf853f4a534374ddb4df9f828fa63d3ef2d167d75 (patch)
treefe85107dd249844933148d355c633423f527ef5a /lib/highline/menu.rb
parent4e36b1f0ae519f32133f53296f9096ebb2c62067 (diff)
downloadhighline-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.rb2
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