Class: Ansible::Ruby::Modules::Homebrew_cask

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew_cask.rb

Overview

Manages Homebrew casks.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#nameString

Returns name of cask to install/remove.

Returns:

  • (String)

    name of cask to install/remove



11
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew_cask.rb', line 11

attribute :name

#state:present, ...

Returns state of the cask.

Returns:

  • (:present, :absent, nil)

    state of the cask



15
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/homebrew_cask.rb', line 15

attribute :state