Class: PoiseLanguages::Static::Provider Private
- Inherits:
-
Chef::Provider
- Object
- Chef::Provider
- PoiseLanguages::Static::Provider
- Includes:
- Poise
- Defined in:
- lib/poise_languages/static/resource.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
The default provider for ‘poise_languages_static`.
Instance Method Summary collapse
-
#action_install ⇒ void
private
The ‘install` action for the `poise_languages_static` resource.
-
#action_uninstall ⇒ void
private
The ‘uninstall` action for the `poise_languages_static` resource.
Instance Method Details
#action_install ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
The ‘install` action for the `poise_languages_static` resource.
73 74 75 76 77 78 79 |
# File 'lib/poise_languages/static/resource.rb', line 73 def action_install do download_archive create_directory # Unpack is handled as a notification from download_archive. end end |
#action_uninstall ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
The ‘uninstall` action for the `poise_languages_static` resource.
84 85 86 87 88 89 |
# File 'lib/poise_languages/static/resource.rb', line 84 def action_uninstall do delete_archive delete_directory end end |