Top Level Namespace
- Includes:
- Bivouac, Bivouac::Template
Defined Under Namespace
Modules: Bivouac, BivouacHelpers, CampingFilters Classes: Gem, Hash, JavaScriptGenerator, Module
Constant Summary collapse
- BIVOUAC_VERSION =
Gem.loaded_specs['bivouac'].version.to_s
- CAMPING_VERSION =
Gem.loaded_specs['camping'].version.to_s
- BASE_URL =
"http://bivouac.rubyforge.org/svn/trunk/plugins/"
- DIRNAME =
File.( File.dirname(__FILE__) )
Instance Method Summary collapse
- #before_filter(action, opts = {}) ⇒ Object
- #filePath(from, *data) ⇒ Object
- #update_version(opts) ⇒ Object
Methods included from Bivouac::Template
#copyTemplate, #createDir, #createFile, #plugin_template, #template
Methods included from Bivouac
#addControllerHelperModule, #addViewHelperModule, #controllerHelperModule, #files, #viewHelperModule
Instance Method Details
#before_filter(action, opts = {}) ⇒ Object
2 3 4 |
# File 'lib/bivouac/filter.rb', line 2 def before_filter( action, opts = {} ) $__filters__[action] = opts end |
#filePath(from, *data) ⇒ Object
12 13 14 |
# File 'lib/bivouac/template/generate.rb', line 12 def filePath( from, *data ) File.join File.(File.dirname(from)), data end |
#update_version(opts) ⇒ Object
27 28 29 |
# File 'lib/bivouac/tasks/bivouac.rb', line 27 def update_version( opts ) @conf.versions << opts end |