Class: VagrantPlugins::ProviderLibvirt::Cap::Snapshots
- Inherits:
-
Object
- Object
- VagrantPlugins::ProviderLibvirt::Cap::Snapshots
- Defined in:
- lib/vagrant-libvirt/cap/snapshots.rb
Class Method Summary collapse
Class Method Details
.snapshot_list(machine) ⇒ Object
5 6 7 8 |
# File 'lib/vagrant-libvirt/cap/snapshots.rb', line 5 def self.snapshot_list(machine) return if machine.state.id == :not_created machine.provider.driver.list_snapshots end |