blob: 023894055fe45359d27a684191bc32c340131819 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
require_relative "anonymous"
require_relative "../string/inflections"
class Module
def reachable? #:nodoc:
!anonymous? && name.safe_constantize.equal?(self)
end
end
|