Method: Libvirt::Collection::StoragePoolCollection#inactive
- Defined in:
- lib/libvirt/collection/storage_pool_collection.rb
#inactive ⇒ Array<StoragePool>
Returns the inactive storage pools.
31 32 33 34 35 |
# File 'lib/libvirt/collection/storage_pool_collection.rb', line 31 def inactive read_array(:virConnectListDefinedStoragePools, :virConnectNumOfDefinedStoragePools, :string).collect do |name| find_by_name(name) end end |