class
LSP::CreateFileOptions
- LSP::CreateFileOptions
- Reference
- Object
Overview
Options to create a file.
Included Modules
Defined in:
base/file_resource_changes.crConstructors
Instance Method Summary
-
#ignore_if_exists : Bool | Nil
Ignore if exists.
-
#ignore_if_exists=(ignore_if_exists : Bool | Nil)
Ignore if exists.
-
#overwrite : Bool | Nil
Overwrite existing file.
-
#overwrite=(overwrite : Bool | Nil)
Overwrite existing file.
Macros inherited from module JSON::Serializable
json_discriminator(field, mapping, *, default = nil)
json_discriminator
Constructor Detail
Instance Method Detail
def overwrite=(overwrite : Bool | Nil)
#
Overwrite existing file. Overwrite wins over ignoreIfExists