Class: Homebrew::Cmd::Cellar Private
- Inherits:
-
AbstractCommand
- Object
- AbstractCommand
- Homebrew::Cmd::Cellar
- Defined in:
- cmd/--cellar.rb,
sorbet/rbi/dsl/homebrew/cmd/cellar.rbi
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Defined Under Namespace
Classes: Args
Class Method Summary collapse
- .command_name ⇒ String private
Instance Method Summary collapse
- #args ⇒ Homebrew::Cmd::Cellar::Args private
- #run ⇒ void private
Methods inherited from AbstractCommand
command, dev_cmd?, #initialize, parser, ruby_cmd?
Constructor Details
This class inherits a constructor from Homebrew::AbstractCommand
Class Method Details
.command_name ⇒ String
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
10 |
# File 'cmd/--cellar.rb', line 10 def self.command_name = "--cellar" |
Instance Method Details
#args ⇒ Homebrew::Cmd::Cellar::Args
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
10 |
# File 'sorbet/rbi/dsl/homebrew/cmd/cellar.rbi', line 10 def args; end |
#run ⇒ void
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
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 |