Class: MiddlemanMdocs::TiltTemplate
- Inherits:
-
Middleman::Renderers::KramdownTemplate
- Object
- Middleman::Renderers::KramdownTemplate
- MiddlemanMdocs::TiltTemplate
- Defined in:
- lib/middleman-mdocs/tilt_template.rb
Instance Method Summary collapse
Instance Method Details
#render(*args) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/middleman-mdocs/tilt_template.rb', line 5 def render(*args) erb = Middleman::Renderers::ERb::Template.new(file, line, ) { data } @data = erb.render(*args) prepare super end |