Module: Ramaze::View
- Defined in:
- lib/ramaze/view.rb,
lib/ramaze/view/haml.rb,
lib/ramaze/view/sass.rb,
lib/ramaze/view/tagz.rb,
lib/ramaze/view/lokar.rb,
lib/ramaze/view/erubis.rb,
lib/ramaze/view/ezamar.rb,
lib/ramaze/view/liquid.rb,
lib/ramaze/view/nagoro.rb,
lib/ramaze/view/tenjin.rb,
lib/ramaze/view/erector.rb,
lib/ramaze/view/gestalt.rb,
lib/ramaze/view/mustache.rb,
lib/ramaze/view/slippers.rb,
lib/ramaze/view/remarkably.rb
Overview
This is a container module for wrappers of templating engines and handles lazy requiring of needed engines.
Defined Under Namespace
Modules: Erector, Erubis, Ezamar, Gestalt, Haml, Liquid, Lokar, Mustache, Nagoro, Remarkably, Sass, Slippers, Tagz, Tenjin
Class Method Summary collapse
-
.auto_register(name, *exts) ⇒ Object
Combine Kernel#autoload and Innate::View::register.
Class Method Details
.auto_register(name, *exts) ⇒ Object
Combine Kernel#autoload and Innate::View::register
11 12 13 14 |
# File 'lib/ramaze/view.rb', line 11 def self.auto_register(name, *exts) autoload(name, "ramaze/view/#{name}".downcase) register("Innate::View::#{name}", *exts) end |