Skip to content
This repository
branch: opt_routes
Fetching contributors…

Cannot retrieve contributors at this time

file 8 lines (7 sloc) 0.208 kb
1 2 3 4 5 6 7 8
require 'active_support/core_ext/module/anonymous'
require 'active_support/core_ext/string/inflections'

class Module
  def reachable? #:nodoc:
    !anonymous? && name.safe_constantize.equal?(self)
  end
end
Something went wrong with that request. Please try again.