private bool InitializeRubyApplication(HttpApplication context) { if (_mvcApplication.IsNotNull()) return false; _mvcApplication = _rubyEngine.ExecuteFile<MvcApplication>("~/mvc_application.rb", false); if(_mvcApplication.IsNotNull()) _mvcApplication.Start(context, EventArgs.Empty); return true; }
private bool InitializeRubyApplication(HttpApplication context) { if (_mvcApplication.IsNotNull()) { return(false); } _mvcApplication = _rubyEngine.ExecuteFile <MvcApplication>("~/mvc_application.rb", false); if (_mvcApplication.IsNotNull()) { _mvcApplication.Start(context, EventArgs.Empty); } return(true); }