C# Class Core.RubyEngine

Inheritance: DlrEngine
Afficher le fichier Open project: jflam/repl-lib Class Usage Examples

Méthodes publiques

Méthode Description
Execute ( string code ) : object
InvokeMember ( object target, string method ) : object
Require ( string module ) : bool
Reset ( ScriptScope scope ) : void
RubyEngine ( ) : System
RubyEngine ( ScriptScope scriptScope ) : System
SetVariable ( string name, object value ) : void

Method Details

Execute() public méthode

public Execute ( string code ) : object
code string
Résultat object

InvokeMember() public méthode

public InvokeMember ( object target, string method ) : object
target object
method string
Résultat object

Require() public méthode

public Require ( string module ) : bool
module string
Résultat bool

Reset() public méthode

public Reset ( ScriptScope scope ) : void
scope ScriptScope
Résultat void

RubyEngine() public méthode

public RubyEngine ( ) : System
Résultat System

RubyEngine() public méthode

public RubyEngine ( ScriptScope scriptScope ) : System
scriptScope ScriptScope
Résultat System

SetVariable() public méthode

public SetVariable ( string name, object value ) : void
name string
value object
Résultat void