Method: Vagrant::Guest#capability
- Defined in:
- lib/vagrant/guest.rb
#capability(*args) ⇒ Object
44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/vagrant/guest.rb', line 44 def capability(*args) super rescue Errors::CapabilityNotFound => e raise Errors::GuestCapabilityNotFound, cap: e.extra_data[:cap], guest: name rescue Errors::CapabilityInvalid => e raise Errors::GuestCapabilityInvalid, cap: e.extra_data[:cap], guest: name end |