aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-11-02 19:11:18 -0600
committerJack Nagel2014-11-02 19:11:18 -0600
commit4b2347ef60a691dec1f072741c1e5243547f240b (patch)
tree6fa0cfa10ad59db038291707140acd16a58ef35d /Library
parent1593b24b0f4d251bcbfcb8b1e6a31b512a8b7e11 (diff)
downloadbrew-4b2347ef60a691dec1f072741c1e5243547f240b.tar.bz2
FormulaInstaller: make mode reader methods private
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 1e07bdbaa..2cc00eaff 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -19,6 +19,7 @@ class FormulaInstaller
def self.mode_attr_accessor(*names)
attr_accessor(*names)
+ private(*names)
names.each { |name| define_method("#{name}?") { !!send(name) }}
end