Esempio n. 1
0
 public RubyConsolePad()
 {
     textEditorControl = new TextEditorControl();
     textEditorControl.CreateControl();
     textEditor = new TextEditor(textEditorControl);
     host       = new RubyConsoleHost(textEditor);
     host.Run();
 }
		public void DisposingRubyConsoleHostWithoutCreatingRubyConsole()
		{
			RubyConsoleHost host = new RubyConsoleHost(new FakeConsoleTextEditor(), new FakeControlDispatcher());
			host.Dispose();
		}