Class: Pkgpurge::Receipt

Inherits:
Object
  • Object
show all
Defined in:
lib/pkgpurge/receipt.rb

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Receipt

Returns a new instance of Receipt.



7
8
9
# File 'lib/pkgpurge/receipt.rb', line 7

def initialize(path)
  @path = path
end

Instance Method Details

#rootObject



11
12
13
# File 'lib/pkgpurge/receipt.rb', line 11

def root
  @root ||= parse!
end