aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorJack Nagel2013-04-16 01:43:26 -0500
committerJack Nagel2013-04-16 01:58:11 -0500
commit3a0726406bf3482cdfb5d992ee29b1aefde363ea (patch)
treeb294568c541f55ed476c274b63924cdebf6cfa91 /Library/Homebrew/formula.rb
parentd600d6c0bebaf56ffb47ff7e9e1ac644d36c7a7d (diff)
downloadbrew-3a0726406bf3482cdfb5d992ee29b1aefde363ea.tar.bz2
Add tests for FormulaPin and simplify implementation
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 62ec065ac..778a9a688 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -99,8 +99,8 @@ class Formula
(dir = installed_prefix).directory? && dir.children.length > 0
end
- def pinable?
- @pin.pinable?
+ def pinnable?
+ @pin.pinnable?
end
def pinned?