Skip to content

Instantly share code, notes, and snippets.

View Stanley's full-sized avatar

Stanisław Wasiutyński Stanley

View GitHub Profile
module Rack
class ChromeFrame
def initialize(app, options={})
@app = app
@options = options
end
def call(env)
function irb( input ){
jQuery.ajaxSetup({
async: false
});
var baseUrl = "http://tryruby.hobix.com/irb";
var params = {cmd: "!INIT!IRB!"};
jQuery.get( baseUrl, params);