[Ironruby-core] IronRuby for GIMP

Curt Hagenlocher curth at microsoft.com
Thu Oct 30 19:00:07 EDT 2008


Do you know that your script is being loaded at all?  How are you integrating with the extension model (which no doubt expects an assembly)?

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Maurits Rijk
Sent: Thursday, October 30, 2008 8:50 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] IronRuby for GIMP

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:
<snip>
> def ListProcedure
>  ProcedureEnumerator.new(Procedure.new(...))
>end

For some weird reason my method ListProcedure never gets called. At
first I thought it might have the wrong signature, so I tried to
override the simplest function in the Plugin base class (public virtual
void Init() {}), but even that didn't work.

Investigations will continue and of course all the help already given in
this forum is very much appreciated!

Thanks,

Maurits
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list