Class: Homebrew::Cmd::Repository

Inherits:
AbstractCommand show all
Defined in:
cmd/--repository.rb

Instance Attribute Summary

Attributes inherited from AbstractCommand

#args

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AbstractCommand

command, #initialize, parser

Constructor Details

This class inherits a constructor from Homebrew::AbstractCommand

Class Method Details

.command_nameString

Returns:



10
# File 'cmd/--repository.rb', line 10

def self.command_name = "--repository"

Instance Method Details

#runvoid

This method returns an undefined value.



23
24
25
26
27
28
29
# File 'cmd/--repository.rb', line 23

def run
  if args.no_named?
    puts HOMEBREW_REPOSITORY
  else
    puts args.named.to_taps.map(&:path)
  end
end