OK, I’m making progress… Though my wife just got home, so this might
not last much longer
I am following the example at
NOTE: I tried to be helpful and update that page with the examples
that were just posted to the list, but now the page includes this the
IScriptModule().SetVariable code - which doesn’t appear to be valid
This is what I’m using instead and I get a MissingMethod error on
widget. I’d try using this method (
); ) but CreateScriptSourceFromString doesn’t appear to have a
signature for IScriptModule, or IScriptScope.
IScriptEnvironment scriptenvironment =
IScriptEngine rubyengine =
string script = "puts 'Ruby and ' + widget.to_s + '
together at last’";
IScriptScope scope = scriptenvironment.CreateScope();
Software Development Manager