Class: ThinkingSphinx::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- ThinkingSphinx::Railtie
- Defined in:
- lib/thinking_sphinx/railtie.rb
Instance Method Summary collapse
Instance Method Details
#zeitwerk? ⇒ Boolean
32 33 34 35 36 37 |
# File 'lib/thinking_sphinx/railtie.rb', line 32 def zeitwerk? return true if ActiveSupport::VERSION::MAJOR >= 7 return false if ActiveSupport::VERSION::MAJOR <= 5 Rails.application.config.autoloader == :zeitwerk end |