Skip to content
Browse files

doc WLang templates in README.es

  • Loading branch information...
1 parent bd84f2c commit e8878113208552e61324bba754977eab65c508fe @gnandretta gnandretta committed Jun 30, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 README.es.rdoc
View
9 README.es.rdoc
@@ -551,6 +551,15 @@ Las opciones <tt>:callback</tt> y <tt>:variable</tt> se pueden utilizar para dec
var resource = {"foo":"bar","baz":"qux"}; present(resource);
+=== Plantillas WLang
+
+Dependencias:: {wlang}[https://github.com/blambeau/wlang/]
+Extensiones de Archivo:: <tt>.wlang</tt>
+Ejemplo:: <tt>wlang :index, :locals => { :clave => 'valor' }</tt>
+
+Como no vas a poder llamar a métodos de Ruby (excepto por +yield+) desde una
+plantilla WLang, casi siempre vas a querer pasarle locales.
+
=== Plantillas Embebidas
get '/' do

0 comments on commit e887811

Please sign in to comment.
Something went wrong with that request. Please try again.