Class: Cerbos::Hub::Stores::Input::FileOperation::Delete
- Inherits:
-
Cerbos::Hub::Stores::Input::FileOperation
- Object
- Cerbos::Hub::Stores::Input::FileOperation
- Cerbos::Hub::Stores::Input::FileOperation::Delete
- Defined in:
- lib/cerbos/hub/stores/input/file_operation.rb
Overview
Delete a file.
Instance Attribute Summary collapse
-
#path ⇒ String
readonly
Path of the file to delete.
Instance Method Summary collapse
-
#initialize(path:) ⇒ Delete
constructor
Specify a file to delete.
Constructor Details
#initialize(path:) ⇒ Delete
Specify a file to delete.
43 44 45 |
# File 'lib/cerbos/hub/stores/input/file_operation.rb', line 43 def initialize(path:) @path = path end |
Instance Attribute Details
#path ⇒ String (readonly)
Path of the file to delete.
38 39 40 |
# File 'lib/cerbos/hub/stores/input/file_operation.rb', line 38 def path @path end |