Module: Pragmater

Defined in:
lib/pragmater.rb,
lib/pragmater/import.rb,
lib/pragmater/remover.rb,
lib/pragmater/inserter.rb,
lib/pragmater/cli/shell.rb,
lib/pragmater/container.rb,
lib/pragmater/parsers/file.rb,
lib/pragmater/formatters/main.rb,
lib/pragmater/cli/actions/root.rb,
lib/pragmater/parsers/comments.rb,
lib/pragmater/formatters/general.rb,
lib/pragmater/formatters/shebang.rb,
lib/pragmater/processors/handler.rb,
lib/pragmater/processors/remover.rb,
lib/pragmater/cli/actions/comment.rb,
lib/pragmater/cli/actions/pattern.rb,
lib/pragmater/cli/commands/insert.rb,
lib/pragmater/cli/commands/remove.rb,
lib/pragmater/configuration/model.rb,
lib/pragmater/processors/inserter.rb,
lib/pragmater/configuration/contract.rb

Overview

Main namespace.

Defined Under Namespace

Modules: CLI, Configuration, Container, Formatters, Parsers, Processors Classes: Inserter, Remover

Constant Summary collapse

Import =
Infusible[Container]

Class Method Summary collapse

Class Method Details

.loader(registry = Zeitwerk::Registry) ⇒ Object



14
15
16
# File 'lib/pragmater.rb', line 14

def self.loader registry = Zeitwerk::Registry
  @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
end