Revert "FormulaInstaller: make mode reader methods private"
This reverts commit 44bff238434a48c4a8531bc2d1a29c81f18f8fab. Conflicts: Library/Homebrew/formula_installer.rb Fixes Homebrew/homebrew#33882.
This commit is contained in:
parent
c6bc9b7e9f
commit
34c0b40abf
@ -19,7 +19,6 @@ class FormulaInstaller
|
||||
|
||||
def self.mode_attr_accessor(*names)
|
||||
attr_accessor(*names)
|
||||
private(*names)
|
||||
names.each do |name|
|
||||
predicate = "#{name}?"
|
||||
define_method(predicate) { !!send(name) }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user