blob: 790a3cc561d7d3e83f956075e40692b28083066d (
plain) (
tree)
|
|
# frozen_string_literal: true
require_relative "anonymous"
require_relative "../string/inflections"
class Module
def reachable? #:nodoc:
!anonymous? && name.safe_constantize.equal?(self)
end
deprecate :reachable?
end
|