Discourse Plugins and Rails 6 config/initializers Question

After skimming through this Ruby on Rails Guides: Configuring Rails Applications
I think plugin.rb is kind of the same thing. Most of the plugins that are decent size use it as an entry point to the logic rather than the logic itself.