keg - use proper inheritance style
This commit is contained in:
parent
2eb0065ced
commit
9995f9a651
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user