class Generate::Generator
- Generate::Generator
- Reference
- Object
Defined in:
generate/generator.crConstructors
Instance Method Summary
- #[](key)
- #[]=(key, value)
- #[]?(key)
- #abs_path(path)
- #copy_file(from : String, to : String)
-
#file(file_path : String, content : String)
Generate a file from a string
- #in_directory(path : String, &)
- #mkdir_if_needed(path : String)
- #target_directory : String
- #target_directory=(target_directory : String)
- #variables : Hash(String, String)
- #variables=(variables : Hash(String, String))