diff options
| author | Adam Vandenberg | 2011-03-15 21:48:24 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-15 21:48:24 -0700 |
| commit | 309ae6bca5784b8919c867025eff2b79a31c2f53 (patch) | |
| tree | 32191973d1be8121851454c500468b1bde10d0db /Library | |
| parent | 3b25f34893d72e3ae11e01356b8434a66ab8c823 (diff) | |
| download | homebrew-309ae6bca5784b8919c867025eff2b79a31c2f53.tar.bz2 | |
keg - use proper inheritance style
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index d09dadd15..ad0e97653 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -1,6 +1,6 @@ require 'extend/pathname' -class Keg <Pathname +class Keg < Pathname def initialize path super path raise "#{to_s} is not a valid keg" unless parent.parent.realpath == HOMEBREW_CELLAR.realpath |
