Module: Codeowners

Defined in:
lib/codeowners.rb,
lib/codeowners/cli.rb,
lib/codeowners/glob.rb,
lib/codeowners/owner.rb,
lib/codeowners/generator.rb,
lib/codeowners/ownership.rb,
lib/codeowners/owner_finder.rb,
lib/codeowners/configuration.rb,
lib/codeowners/codeowners_file.rb,
lib/codeowners/definitions_file.rb,
lib/codeowners/contributor_finder.rb

Overview

frozen_string_literal: true

Defined Under Namespace

Classes: CLI, CodeownersFile, Configuration, ContributorFinder, DefinitionsFile, Error, Generator, Glob, Owner, OwnerFinder, Ownership

Class Method Summary collapse

Class Method Details

.configure {|Configuration.instance| ... } ⇒ Object

Yields:



18
19
20
21
22
# File 'lib/codeowners.rb', line 18

def self.configure(&block)
  yield(Configuration.instance) if block

  Configuration.instance
end