Class: TabularText::Handler

Inherits:
Object
  • Object
show all
Defined in:
lib/tabular-text/handler.rb

Class Method Summary collapse

Class Method Details

.call(_template, source) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/tabular-text/handler.rb', line 3

def self.call(_template, source)
  "    builder = TabularText::Builder.new\n    \#{source}\n    builder.render\n  TEMPLATE\nend\n"