mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
removes unused method Class#reachable?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user