C# Class IronRuby.Hosting.RubyCommandLine

A simple Ruby command-line should mimic the standard irb.exe
Inheritance: CommandLine
Show file Open project: jschementi/iron

Private Properties

Property Type Description
CreateCommandSource Microsoft.Scripting.ScriptSource
GetSourceCodeEncoding Encoding

Public Methods

Method Description
GetLogo ( ) : string
RubyCommandLine ( ) : System

Protected Methods

Method Description
CreateScope ( ) : Scope
ExecuteCommand ( string command ) : void
GetCommandProperties ( string code ) : ScriptCodeParseResult
RunCommand ( string command ) : int
RunFile ( string fileName ) : int
Shutdown ( ) : void
TryInteractiveAction ( ) : int?
UnhandledException ( Exception e ) : void

Private Methods

Method Description
CreateCommandSource ( string command, SourceCodeKind kind, string sourceUnitId ) : Microsoft.Scripting.ScriptSource
GetSourceCodeEncoding ( ) : Encoding

Method Details

CreateScope() protected method

protected CreateScope ( ) : Scope
return Scope

ExecuteCommand() protected method

protected ExecuteCommand ( string command ) : void
command string
return void

GetCommandProperties() protected method

protected GetCommandProperties ( string code ) : ScriptCodeParseResult
code string
return ScriptCodeParseResult

GetLogo() public static method

public static GetLogo ( ) : string
return string

RubyCommandLine() public method

public RubyCommandLine ( ) : System
return System

RunCommand() protected method

protected RunCommand ( string command ) : int
command string
return int

RunFile() protected method

protected RunFile ( string fileName ) : int
fileName string
return int

Shutdown() protected method

protected Shutdown ( ) : void
return void

TryInteractiveAction() protected method

protected TryInteractiveAction ( ) : int?
return int?

UnhandledException() protected method

protected UnhandledException ( Exception e ) : void
e System.Exception
return void