Curt Hagenlocher wrote:
> Do you know that your script is being loaded at all? How are you
Yes, I'm very sure. The IronRuby class uses the constructor of the base
class, which has some print statements in it.
> integrating with the extension model (which no doubt expects an
> assembly)?
I us
Hi Curt,
Curt Hagenlocher wrote:
> "yield" doesn't do in Ruby what it does in C#.
Ah, I wasn't aware of that.
> You'll probably need to define your own enumerator class doing something
> like this:
> def ListProcedure
> ProcedureEnumerator.new(Procedure.new(...))
>end
For some weird reason m
Nice, the array conversion seems to work quite well. Right now I'm
encountering the next problem. The Plugin base class (C#) has the follow
signature:
protected abstract IEnumerator ListProcedures();
How can I implement this in my IronRuby derived class? Of course I tried
something like:
def
Thanks!
I'm still a bit surprised that one has to do the conversion explicitly.
I would expect that either IronRuby uses CLR arrays (and strings) or
would do the conversion implicitly for me. But as I said in my previous
mail, I'm new to IronRuby and probably missing a whole bunch of design
de
I'm completely new at IronRuby and I try to use it for writing GIMP
plug-ins, using my GIMP# library
(http://sourceforge.net/projects/gimp-sharp/).
I have hacked up the following code:
require "../../lib/gimp-sharp"
require "mscorlib"
class RubySample < Gimp::Plugin
def initialize(args)
s