Ivan Porto carrero wrote:
> Do you want to do it from ruby or from C#?
> ---
>From C#.
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
PATH", "-I",
"-O", "-F", "FILENAME", "VERBOSE", "-v",
"-w", "DEBUG", "-d", "KCODE", "-K", "SAFE", "$"]
Tomas
From: ironruby-core-boun...@rubyforge.org
[mailt
-core-boun...@rubyforge.org
09/30/2009 07:56 AM
Please respond to
ironruby-core@rubyforge.org
To
ironruby-core@rubyforge.org
cc
Subject
Re: [Ironruby-core] Clear ScriptEngine Global Variables
if (Runtime.Globals.ContainsVariable(className))
Runtime.Globals.RemoveVariable(className);
Do you want to do it from ruby or from C#?
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Wed, Sep 30, 2009 at 4:07 PM, Aaron Clauson wrot
Ivan Porto carrero wrote:
> if (Runtime.Globals.ContainsVariable(className))
> Runtime.Globals.RemoveVariable(className);
>
What if i don't know classname though?
My application is operating in a shared environment where a large number
of users are each executing their own custom scripts.
Than
if (Runtime.Globals.ContainsVariable(className))
Runtime.Globals.RemoveVariable(className);
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On
Hi,
Is there anyway to clear all global variables from the IronRuby script
engine?
For example if I define a variable in a script and execute it:
$myVar = "Hello"
And then execute another script in a new scriptscope but with the same
ScriptEngine instance and use:
global_variables.each do |v