Class: Mustache::Generator
- Inherits:
-
Object
- Object
- Mustache::Generator
- Defined in:
- lib/ext/mustache.rb
Instance Method Summary collapse
Instance Method Details
#on_routes(name, indentation) ⇒ Object
3 4 5 6 7 |
# File 'lib/ext/mustache.rb', line 3 def on_routes(name, indentation) result = on_fetch([name]) ev("ctx.route(#{result}, #{indentation.inspect})") end |