keg - use proper inheritance style

This commit is contained in:
Adam Vandenberg 2011-03-15 21:48:24 -07:00
parent 2eb0065ced
commit 9995f9a651

View File

@ -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