class Spark::File::CreateFile
- Spark::File::CreateFile
- Reference
- Object
Overview
CreateFile acts as a convenient wrapper to perform file creation.
Defined in:
spark/file/create_file.crConstructors
-
.new(relative_path : String, content : String)
Set up a new CreateFile object for creation.
Instance Method Summary
-
#call
Create the initialized
CreateFile
object. - #content : String
- #relative_path : String
Constructor Detail
def self.new(relative_path : String, content : String)
#
Set up a new CreateFile object for creation.