Module: Tilt

Defined in:
lib/sinatra/js.rb

Instance Method Summary collapse

Instance Method Details

#rjsObject

RJS (RubyJS) support, piggy-backing onto the ERBTemplate

so that we can use <% %> tags with Ruby code inside the .rjs file


10
# File 'lib/sinatra/js.rb', line 10

register 'rjs', ERBTemplate