method

order_plugins

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: Rails::Plugin::Loader
order_plugins(plugin_a, plugin_b) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/plugin/loader.rb, line 127
        def order_plugins(plugin_a, plugin_b)
          if !explicit_plugin_loading_order?
            plugin_a <=> plugin_b
          else
            if !explicitly_enabled?(plugin_a) && !explicitly_enabled?(plugin_b)
              plugin_a <=> plugin_b
            else
              effective_order_of(plugin_a) <=> effective_order_of(plugin_b)
            end
          end
        end
Register or log in to add new notes.