Class: Serverkit::Resources::Package
- Defined in:
- lib/serverkit/resources/package.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
#attributes, #backend, #recipe
Instance Method Summary collapse
Methods inherited from Base
#all_errors, attribute, #initialize, #to_a, #type
Constructor Details
This class inherits a constructor from Serverkit::Resources::Base
Instance Method Details
#apply ⇒ Object
8 9 10 |
# File 'lib/serverkit/resources/package.rb', line 8 def apply run_command_from_identifier(:install_package, name) end |
#check ⇒ true, false
13 14 15 |
# File 'lib/serverkit/resources/package.rb', line 13 def check check_command_from_identifier(:check_package_is_installed, name) end |