class Object
Public Instance Methods
ruby2js(*args)
click to toggle source
# File lib/ruby2js/sinatra.rb, line 41 def ruby2js(*args) content_type 'application/javascript' render('rb', *args).to_s end
# File lib/ruby2js/sinatra.rb, line 41 def ruby2js(*args) content_type 'application/javascript' render('rb', *args).to_s end