Top Level Namespace
Defined Under Namespace
Modules: Gitplate
Instance Method Summary collapse
- #custom(&block) ⇒ Object
- #init(&block) ⇒ Object
- #output(type, msg) ⇒ Object
- #project_dir ⇒ Object
- #project_name ⇒ Object
- #rename(from, to) ⇒ Object
- #task(task_name, &block) ⇒ Object
Instance Method Details
#custom(&block) ⇒ Object
123 124 125 |
# File 'lib/gitplate/plate.rb', line 123 def custom(&block) Gitplate::Plate.instance.custom &block end |
#init(&block) ⇒ Object
107 108 109 |
# File 'lib/gitplate/plate.rb', line 107 def init(&block) Gitplate::Plate.instance.add_init &block end |
#output(type, msg) ⇒ Object
119 120 121 |
# File 'lib/gitplate/plate.rb', line 119 def output(type, msg) Gitplate::Plate.instance.output type, " #{msg}" end |
#project_dir ⇒ Object
115 116 117 |
# File 'lib/gitplate/plate.rb', line 115 def project_dir Gitplate::Plate.instance.project_dir end |
#project_name ⇒ Object
111 112 113 |
# File 'lib/gitplate/plate.rb', line 111 def project_name Gitplate::Plate.instance.project_name end |