class Generate::Generator

Defined in:

generate/generator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def [](key) #

[View source]
def []=(key, value) #

[View source]
def []?(key) #

[View source]
def abs_path(path) #

[View source]
def copy_file(from : String, to : String) #

[View source]
def file(file_path : String, content : String) #

Generate a file from a string


[View source]
def in_directory(path : String, &) #

[View source]
def mkdir_if_needed(path : String) #

[View source]
def target_directory : String #

[View source]
def target_directory=(target_directory : String) #

[View source]
def variables : Hash(String, String) #

[View source]
def variables=(variables : Hash(String, String)) #

[View source]