class Spark::File::CreateFile

Overview

CreateFile acts as a convenient wrapper to perform file creation.

Defined in:

spark/file/create_file.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(relative_path : String, content : String) #

Set up a new CreateFile object for creation.


[View source]

Instance Method Detail

def call #

Create the initialized CreateFile object.


[View source]
def content : String #

[View source]
def relative_path : String #

[View source]