Class: Sinatra::JstPages::JadeEngine

Inherits:
Engine
  • Object
show all
Defined in:
lib/sinatra/jstpages.rb

Instance Attribute Summary

Attributes inherited from Engine

#file

Instance Method Summary collapse

Methods inherited from Engine

#contents, #initialize

Constructor Details

This class inherits a constructor from Sinatra::JstPages::Engine

Instance Method Details

#functionObject



210
# File 'lib/sinatra/jstpages.rb', line 210

def function() "require('jade').compile(#{contents.inspect})"; end