Module: Temple::Templates

Defined in:
lib/temple/templates.rb,
lib/temple/templates/tilt.rb,
lib/temple/templates/rails.rb

Defined Under Namespace

Classes: Rails, Tilt

Class Method Summary collapse

Class Method Details

.method_missing(name, engine, options = {}) ⇒ Object



8
9
10
# File 'lib/temple/templates.rb', line 8

def self.method_missing(name, engine, options = {})
  const_get(name).create(engine, options)
end