Méthode | Description | |
---|---|---|
AddRubySetup ( this runtimeSetup ) : LanguageSetup |
Adds a new IronRuby setup into the runtime setup unless already included.
|
|
AddRubySetup ( this runtimeSetup, Action |
Adds a new IronRuby setup into the given runtime setup unless already included.
|
|
GetRubyEngine ( this runtime ) : ScriptEngine |
Retrieves an IronRuby engine from this script runtime.
|
|
GetRubySetup ( this runtimeSetup ) : LanguageSetup |
Retrieves IronRuby setup from the script runtime setup.
|
|
RequireFile ( this engine, string path ) : bool |
Loads a script file using the semantics of Kernel#require method. If a relative path is given the current search paths are used to locate the script file. The current search paths could be read and modified via ScriptEngine.GetSearchPaths and ScriptEngine.SetSearchPaths, respectively. |
|
RequireFile ( this engine, string path, ScriptScope scope ) : bool |
Loads a script file using the semantics of Kernel#require method. The script is executed within the context of a given ScriptScope. If a relative path is given the current search paths are used to locate the script file. The current search paths could be read and modified via ScriptEngine.GetSearchPaths and ScriptEngine.SetSearchPaths, respectively. |
public static AddRubySetup ( this runtimeSetup ) : LanguageSetup | ||
runtimeSetup | this | The |
Résultat | LanguageSetup |
public static AddRubySetup ( this runtimeSetup, Action |
||
runtimeSetup | this | The |
newSetupInitializer | Action |
/// If not |
Résultat | LanguageSetup |
public static GetRubyEngine ( this runtime ) : ScriptEngine | ||
runtime | this | The runtime to get the engine from. |
Résultat | ScriptEngine |
public static GetRubySetup ( this runtimeSetup ) : LanguageSetup | ||
runtimeSetup | this | Runtime setup. |
Résultat | LanguageSetup |
public static RequireFile ( this engine, string path ) : bool | ||
engine | this | The Ruby engine. |
path | string | The path to the file to load. |
Résultat | bool |
public static RequireFile ( this engine, string path, ScriptScope scope ) : bool | ||
engine | this | The Ruby engine. |
path | string | The path to the file to load. |
scope | ScriptScope | The scope to use for the script execution. |
Résultat | bool |