Class: GraphitiGraphQL::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- GraphitiGraphQL::Engine
- Defined in:
- lib/graphiti_graphql/engine.rb
Class Method Summary collapse
Class Method Details
.reloader_class ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/graphiti_graphql/engine.rb', line 20 def self.reloader_class case Rails::VERSION::MAJOR when 4 then ActionDispatch::Reloader when 5 then ActiveSupport::Reloader else ::Rails.application.reloader end end |