Skip to content
Snippets Groups Projects
Commit 4b2347ef authored by Jack Nagel's avatar Jack Nagel
Browse files

FormulaInstaller: make mode reader methods private

parent 1593b24b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment