From 50514678d1189c6534c7b02091b30fccdbb6bfed Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 4 Jan 2015 15:33:25 -0500 Subject: [PATCH] Make active_spec protected --- Library/Homebrew/formula.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 6605ff0a70..98e8ba719b 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -52,9 +52,9 @@ class Formula attr_reader :head # The currently active {SoftwareSpec}. - # Defaults to stable unless `--devel` or `--HEAD` is passed. - # @private + # @see #determine_active_spec attr_reader :active_spec + protected :active_spec # The {PkgVersion} for this formula with version and {#revision} information. attr_reader :pkg_version