Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v3.0.2
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (9 sloc) 0.232 kb
require 'active_support/core_ext/module/anonymous'
require 'active_support/core_ext/string/inflections'
class Module
def reachable? #:nodoc:
!anonymous? && name.constantize.equal?(self)
rescue NameError
false
end
end
Jump to Line
Something went wrong with that request. Please try again.