blob: 023894055fe45359d27a684191bc32c340131819 (
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
end
|