ERB template implementation. See: www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html
# File lib/sinatra/tilt.rb, line 356 356: def initialize_engine 357: return if defined? ::ERB 358: require_template_library 'erb' 359: end
# File lib/sinatra/tilt.rb, line 390 390: def precompiled(locals) 391: source, offset = super 392: [source, offset + 1] 393: end
# File lib/sinatra/tilt.rb, line 378 378: def precompiled_postamble(locals) 379: #{super} ensure #{@outvar} = __original_outvar end 380: end
# File lib/sinatra/tilt.rb, line 370 370: def precompiled_preamble(locals) 371: begin __original_outvar = #{@outvar} if defined?(#{@outvar}) #{super} 372: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.