Class: Homebrew::Cmd::Cellar

Inherits:
AbstractCommand show all
Defined in:
cmd/--cellar.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/--cellar.rb', line 10

def self.command_name = "--cellar"

Instance Method Details

#runvoid

This method returns an undefined value.



25
26
27
28
29
30
31
# File 'cmd/--cellar.rb', line 25

def run
  if args.no_named?
    puts HOMEBREW_CELLAR
  else
    puts args.named.to_resolved_formulae.map(&:rack)
  end
end