private object Rackup() { Utils.Log("=> Loading Rack application"); var fullPath = Path.Combine(_appRoot, "config.ru"); if (File.Exists(fullPath)) { return(IronRubyEngine.ExecuteMethod <RubyArray>( IronRubyEngine.Execute("Rack::Builder"), "parse_file", MutableString.CreateAscii(fullPath))[0]); } return(null); }
public RubyArray Call(Hash env) { return(IronRubyEngine.ExecuteMethod <RubyArray>(App, "call", env)); }