Class: Pkgpurge::Receipt
- Inherits:
-
Object
- Object
- Pkgpurge::Receipt
- Defined in:
- lib/pkgpurge/receipt.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ Receipt
constructor
A new instance of Receipt.
- #root ⇒ Object
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
#root ⇒ Object
11 12 13 |
# File 'lib/pkgpurge/receipt.rb', line 11 def root @root ||= parse! end |