Module: Appsta
- Includes:
- DefaultFiles, Git, GitHub, Heroku, JQuery
- Defined in:
- lib/appsta.rb,
lib/appsta/git.rb,
lib/appsta/github.rb,
lib/appsta/heroku.rb,
lib/appsta/jquery.rb,
lib/appsta/default_files.rb
Defined Under Namespace
Modules: DefaultFiles, Git, GitHub, Heroku, JQuery
Constant Summary collapse
- VERSION =
"1.1.0"
Class Method Summary collapse
-
.load ⇒ Object
This loads Appsta so that it’s methods are available to the template runner.
-
.resources_path ⇒ Object
This returns the resources path for Appsta.
-
.template_path ⇒ Object
This returns the template path for Appsta.
Methods included from JQuery
Methods included from Git
Methods included from GitHub
Methods included from Heroku
Methods included from DefaultFiles
Class Method Details
.load ⇒ Object
This loads Appsta so that it’s methods are available to the template runner
18 19 20 |
# File 'lib/appsta.rb', line 18 def load Rails::TemplateRunner.send(:include, Appsta) end |
.resources_path ⇒ Object
This returns the resources path for Appsta
28 29 30 |
# File 'lib/appsta.rb', line 28 def resources_path File.(File.join(File.dirname(__FILE__), "..", "resources")) end |
.template_path ⇒ Object
This returns the template path for Appsta
23 24 25 |
# File 'lib/appsta.rb', line 23 def template_path File.(File.join(File.dirname(__FILE__), "template.rb")) end |