diff options
| author | Jack Nagel | 2013-04-16 01:43:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-04-16 01:58:11 -0500 |
| commit | 3a0726406bf3482cdfb5d992ee29b1aefde363ea (patch) | |
| tree | b294568c541f55ed476c274b63924cdebf6cfa91 /Library/Homebrew/formula.rb | |
| parent | d600d6c0bebaf56ffb47ff7e9e1ac644d36c7a7d (diff) | |
| download | brew-3a0726406bf3482cdfb5d992ee29b1aefde363ea.tar.bz2 | |
Add tests for FormulaPin and simplify implementation
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 4 |
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? |
