Class: Template::Handlers::Notator

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

Overview


Instance Method Summary collapse

Instance Method Details

#call(template) ⇒ Object



30
31
32
33
34
35
36
37
# File 'lib/notator/template.rb', line 30

def call( template )
#-------------------

  "json = ::Notator::JavascriptObjectNotation.new();" +
  "(" + template.source + ");" +
  "json.to_json;"
    
end