Class: Lightchef::Resources::Package
- Defined in:
- lib/lightchef/resources/package.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#copy_file, #fetch_option, #initialize, #method_missing, #node, #run, #run_command
Constructor Details
This class inherits a constructor from Lightchef::Resources::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Lightchef::Resources::Base
Instance Method Details
#install_action ⇒ Object
6 7 8 |
# File 'lib/lightchef/resources/package.rb', line 6 def install_action run_command(:install, fetch_option(:name)) end |