메소드 | 설명 | |
---|---|---|
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 |
리턴 | LanguageSetup |
public static AddRubySetup ( this runtimeSetup, Action |
||
runtimeSetup | this | The |
newSetupInitializer | Action |
/// If not |
리턴 | LanguageSetup |
public static GetRubyEngine ( this runtime ) : ScriptEngine | ||
runtime | this | The runtime to get the engine from. |
리턴 | ScriptEngine |
public static GetRubySetup ( this runtimeSetup ) : LanguageSetup | ||
runtimeSetup | this | Runtime setup. |
리턴 | LanguageSetup |
public static RequireFile ( this engine, string path ) : bool | ||
engine | this | The Ruby engine. |
path | string | The path to the file to load. |
리턴 | 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. |
리턴 | bool |