Class: Serverspec::Type::Ppa
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Serverspec::Type::Base
Instance Method Details
#enabled? ⇒ Boolean
8 9 10 |
# File 'lib/serverspec/type/ppa.rb', line 8 def enabled? backend.check_ppa_enabled(@name) end |
#exists? ⇒ Boolean
4 5 6 |
# File 'lib/serverspec/type/ppa.rb', line 4 def exists? backend.check_ppa(@name) end |