Class: Sinatra::JstPages::JadeEngine

Inherits:
Engine
  • Object
show all
Defined in:
lib/furnace-xray/lib/jst_pages.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



206
# File 'lib/furnace-xray/lib/jst_pages.rb', line 206

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