Class: Template::Handlers::Formdown

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

Instance Method Summary collapse

Instance Method Details

#call(template) ⇒ Object



11
12
13
# File 'lib/formdown/rails.rb', line 11

def call(template)
  ::Formdown::Renderer.new(template.source).to_html.inspect
end