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
commit44bff238434a48c4a8531bc2d1a29c81f18f8fab (patch)
tree106781f4da909dc08cb1eb8b00de2b03ab16950e /Library
parent88d976ca87952ddb761100a24b93c6eca2bc89d3 (diff)
downloadhomebrew-44bff238434a48c4a8531bc2d1a29c81f18f8fab.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