Module: WithTemplate::ViewAdditions::ClassMethods

Defined in:
lib/with_template/view_additions.rb

Instance Method Summary collapse

Instance Method Details

#with_template(template, &block) ⇒ Object



4
5
6
# File 'lib/with_template/view_additions.rb', line 4

def with_template(template, &block)
  WithTemplate::Base.new(self).render_template(template, &block)
end