Module: Gitt

Defined in:
lib/gitt.rb,
lib/gitt/shell.rb,
lib/gitt/trailable.rb,
lib/gitt/directable.rb,
lib/gitt/models/tag.rb,
lib/gitt/repository.rb,
lib/gitt/parsers/tag.rb,
lib/gitt/commands/log.rb,
lib/gitt/commands/tag.rb,
lib/gitt/models/commit.rb,
lib/gitt/models/person.rb,
lib/gitt/models/trailer.rb,
lib/gitt/parsers/commit.rb,
lib/gitt/parsers/person.rb,
lib/gitt/commands/branch.rb,
lib/gitt/commands/config.rb,
lib/gitt/parsers/trailer.rb,
lib/gitt/sanitizers/date.rb,
lib/gitt/sanitizers/email.rb,
lib/gitt/sanitizers/lines.rb,
lib/gitt/parsers/attributer.rb,
lib/gitt/sanitizers/version.rb,
lib/gitt/sanitizers/scissors.rb,
lib/gitt/sanitizers/trailers.rb,
lib/gitt/sanitizers/container.rb,
lib/gitt/sanitizers/signature.rb,
lib/gitt/sanitizers/statistic.rb,
lib/gitt/sanitizers/paragraphs.rb

Overview

Main namespace.

Defined Under Namespace

Modules: Commands, Directable, Models, Parsers, Sanitizers, Trailable Classes: Repository, Shell

Constant Summary collapse

SHELL =
Shell.new.freeze

Class Method Summary collapse

Class Method Details

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



17
18
19
# File 'lib/gitt.rb', line 17

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

.newObject



21
# File 'lib/gitt.rb', line 21

def self.new(...) = Repository.new(...)