aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-04-26 18:46:43 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-04-26 18:46:43 +0900
commita429b3601f5dea7e3f7019733afffe64df583f34 (patch)
treea94e98569e51a9b4cccc8b6ba481b3f7080061ab /lib
parent6669c966d2744f21315047d1725ad4494d15b8ba (diff)
downloadruby-a429b3601f5dea7e3f7019733afffe64df583f34.tar.gz
Revert "Class instance should be also colorable on IRB"
This reverts commit 6669c966d2744f21315047d1725ad4494d15b8ba. It seems to make tests fail... let me fix this later.
Diffstat (limited to 'lib')
-rw-r--r--lib/irb/color.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/color.rb b/lib/irb/color.rb
index 29d414eccc..2e7a3e8bab 100644
--- a/lib/irb/color.rb
+++ b/lib/irb/color.rb
@@ -51,7 +51,7 @@ module IRB # :nodoc:
obj.all? { |k, v| inspect_colorable?(k) && inspect_colorable?(v) }
when Array
obj.all? { |o| inspect_colorable?(o) }
- when String, Symbol, Regexp, Integer, Float, FalseClass, TrueClass, NilClass, Class
+ when String, Symbol, Regexp, Integer, Float, FalseClass, TrueClass, NilClass
true
else
false