提交 5f981ff0 编写于 作者: X Xavier Noria

removes unused method Class#reachable?

上级 f85f5dfc
...@@ -2,11 +2,6 @@ ...@@ -2,11 +2,6 @@
require 'active_support/core_ext/module/introspection' require 'active_support/core_ext/module/introspection'
class Class #:nodoc: class Class #:nodoc:
def reachable?
eval("defined?(::#{self}) && ::#{self}.equal?(self)")
end
# Removes the classes in +klasses+ from their parent module. # Removes the classes in +klasses+ from their parent module.
# #
# Ordinary classes belong to some module via a constant. This method computes # Ordinary classes belong to some module via a constant. This method computes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册