Class: Tilt::Template

Inherits:
Object
  • Object
show all
Defined in:
lib/lokka.rb

Instance Method Summary collapse

Instance Method Details

#render(scope = Object.new, locals = {}, &block) ⇒ Object



133
134
135
136
# File 'lib/lokka.rb', line 133

def render(scope=Object.new, locals={}, &block)
  output = render_org(scope, locals, &block)
  output.force_encoding(Encoding.default_external) unless output.nil?
end

#render_orgObject



132
# File 'lib/lokka.rb', line 132

alias :render_org :render