Class: Cfruby::Packages::PackageList
- Inherits:
-
Hash
- Object
- Hash
- Cfruby::Packages::PackageList
- Defined in:
- lib/libcfruby/packages.rb
Overview
A holding object for a list of packages and information about them. Each package is referenced in the list by name using Hash notation (plist)
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
28 29 30 31 32 33 34 35 36 |
# File 'lib/libcfruby/packages.rb', line 28 def to_hash() hash = Hash.new() self.each_key() { |key| hash[key] = self[key].to_hash } return(hash) end |