Great, thanks! I don't feel strongly about it so I'll just put in a
little helper function to my .NET project to convert a Hash to a
Dictionary. The monkey-patching method might not work
too well since there will be many functions that might use this
pattern, and having to monkey-patch every single
On Jun 23, 2011, at 11:45 AM, Rob Britton wrote:
> I'm attempting to write a method in C# that is called by IronRuby to
> speed up an existing script, and I call it like this:
>
> foo :limit => 5, :offset => 10
>
> How would I go about accessing these objects from C#? I'm trying
> something like
Hello,
I'm attempting to write a method in C# that is called by IronRuby to
speed up an existing script, and I call it like this:
foo :limit => 5, :offset => 10
How would I go about accessing these objects from C#? I'm trying
something like this:
void foo(Hash options){
int limit = (int)opt