Module: Owners

Defined in:
lib/owners.rb,
lib/owners/path.rb,
lib/owners/config.rb,
lib/owners/search.rb,
lib/owners/version.rb

Defined Under Namespace

Classes: Config, Path, Search

Constant Summary collapse

VERSION =
'0.0.0'

Class Method Summary collapse

Class Method Details

.for(*paths) ⇒ Object

Accepts a list of file paths and returns an array of owners that have subscribed to the specified files.


11
12
13
# File 'lib/owners.rb', line 11

def self.for(*paths)
  Search.new(paths).owners
end