Module: Renderer

Included in:
Home, Reader::Host, Reader::Watchman
Defined in:
lib/city_watch/util/renderer.rb

Instance Method Summary collapse

Instance Method Details

#render(*tpl) ⇒ Object



12
13
14
15
16
# File 'lib/city_watch/util/renderer.rb', line 12

def render(*tpl)
	layout do
		render_bare(*tpl)
	end
end

#render_bare(*tpl) ⇒ Object



18
19
20
# File 'lib/city_watch/util/renderer.rb', line 18

def render_bare(*tpl)
	template(*tpl).result(binding)
end