mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
removes unused method Class#reachable?
This commit is contained in:
parent
f85f5dfc8f
commit
5f981ff029
1 changed files with 0 additions and 5 deletions
|
@ -2,11 +2,6 @@ require 'active_support/core_ext/object/extending'
|
|||
require 'active_support/core_ext/module/introspection'
|
||||
|
||||
class Class #:nodoc:
|
||||
|
||||
def reachable?
|
||||
eval("defined?(::#{self}) && ::#{self}.equal?(self)")
|
||||
end
|
||||
|
||||
# Removes the classes in +klasses+ from their parent module.
|
||||
#
|
||||
# Ordinary classes belong to some module via a constant. This method computes
|
||||
|
|
Loading…
Reference in a new issue