add Formulary::path method
This is a little code refactoring splited from Homebrew/homebrew#36753 The idea is to eliminate `Formula#path` outside of `formulary.rb`. And I indent to deprecate `Formula#path` method when I reimplement symlink free tap function. Closes Homebrew/homebrew#39313.
Showing
- Library/Homebrew/cmd/create.rb 3 additions, 3 deletionsLibrary/Homebrew/cmd/create.rb
- Library/Homebrew/cmd/edit.rb 4 additions, 6 deletionsLibrary/Homebrew/cmd/edit.rb
- Library/Homebrew/cmd/log.rb 3 additions, 6 deletionsLibrary/Homebrew/cmd/log.rb
- Library/Homebrew/cmd/readall.rb 1 addition, 1 deletionLibrary/Homebrew/cmd/readall.rb
- Library/Homebrew/formulary.rb 5 additions, 1 deletionLibrary/Homebrew/formulary.rb
Please register or sign in to comment