Module: Tooler
- Defined in:
- lib/tooler/cli.rb,
lib/tooler/error.rb,
lib/tooler/helper.rb,
lib/tooler/version.rb,
lib/tooler/template.rb,
lib/tooler/cuba_template.rb,
lib/tooler/sinatra_template.rb
Defined Under Namespace
Modules: Template
Classes: CLI, Error
Constant Summary
collapse
- VERSION =
"0.0.2"
Class Method Summary
collapse
Class Method Details
.help ⇒ Object
6
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/tooler/helper.rb', line 6
def self.help
<<HELP_MESSAGE
$ tooler template_name
Available templates
1. cuba
2. sinatra
HELP_MESSAGE
end
|
.root ⇒ Object
2
3
4
|
# File 'lib/tooler/helper.rb', line 2
def self.root
File.expand_path "../../..", __FILE__
end
|