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
7 8 9 |
# File 'lib/serverspec/type/ppa.rb', line 7 def enabled? @runner.check_ppa_is_enabled(@name) end |
#exists? ⇒ Boolean
3 4 5 |
# File 'lib/serverspec/type/ppa.rb', line 3 def exists? @runner.check_ppa_exists(@name) end |