aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/software_spec.rb
diff options
context:
space:
mode:
authorWilliam Woodruff2015-08-12 14:57:54 -0400
committerMisty De Meo2015-08-21 11:02:33 -0700
commit8793a68ee422a2cee7035c1d564fbd81d0c72dc4 (patch)
tree433997fbad1f3e746b57e1884019f0aef83982b5 /Library/Homebrew/software_spec.rb
parent1face808f5f1dc43c887cab421b5c01f7e20fdf7 (diff)
downloadbrew-8793a68ee422a2cee7035c1d564fbd81d0c72dc4.tar.bz2
Add no-Xcode documentation for all classes, methods
Diffstat (limited to 'Library/Homebrew/software_spec.rb')
-rw-r--r--Library/Homebrew/software_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb
index edc5f7645..e8148322e 100644
--- a/Library/Homebrew/software_spec.rb
+++ b/Library/Homebrew/software_spec.rb
@@ -245,6 +245,7 @@ class Bottle
@spec.compatible_cellar?
end
+ # Does the bottle need to be relocated?
def skip_relocation?
@spec.skip_relocation?
end
@@ -288,6 +289,7 @@ class BottleSpecification
cellar == :any || cellar == :any_skip_relocation || cellar == HOMEBREW_CELLAR.to_s
end
+ # Does the Bottle this BottleSpecification belongs to need to be relocated?
def skip_relocation?
cellar == :any_skip_relocation
end