Class: Ansible::Ruby::Modules::Win_tempfile
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_tempfile
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_tempfile.rb
Overview
Creates temporary files and directories. For non-Windows targets, please use the M(tempfile) module instead.
Instance Method Summary collapse
-
#path ⇒ String?
Location where temporary file or directory should be created.,If path is not specified default system temporary directory (%TEMP%) will be used.
-
#prefix ⇒ String?
Prefix of file/directory name created by module.
-
#state ⇒ :directory, ...
Whether to create file or directory.
-
#suffix ⇒ String?
Suffix of file/directory name created by module.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#path ⇒ String?
Returns Location where temporary file or directory should be created.,If path is not specified default system temporary directory (%TEMP%) will be used.
17 |
# File 'lib/ansible/ruby/modules/generated/windows/win_tempfile.rb', line 17 attribute :path |
#prefix ⇒ String?
Returns Prefix of file/directory name created by module.
21 |
# File 'lib/ansible/ruby/modules/generated/windows/win_tempfile.rb', line 21 attribute :prefix |
#state ⇒ :directory, ...
Returns Whether to create file or directory.
13 |
# File 'lib/ansible/ruby/modules/generated/windows/win_tempfile.rb', line 13 attribute :state |
#suffix ⇒ String?
Returns Suffix of file/directory name created by module.
25 |
# File 'lib/ansible/ruby/modules/generated/windows/win_tempfile.rb', line 25 attribute :suffix |