[Ironruby-core] How to iterate through a C# IEnumerable from IronRuby?

2011-05-24 Thread Doug Blank
Apologies if this is a basic Ruby question. I have a C# method: public class Myro { ... public static IEnumerator getPixels(Picture picture) { for (int x=0; x picture.width; x++) { for (int y=0; y picture.height; y++) { yield return picture.getPixel(x, y); } }

Re: [Ironruby-core] IronRuby v2Release xbuild is failing

2011-10-05 Thread Doug Blank
Reported as: http://ironruby.codeplex.com/workitem/6523 -Doug On Mon, Oct 3, 2011 at 4:22 PM, Doug Blank doug.bl...@gmail.com wrote: FYI, When trying to build IronRuby for a v2Release under Mono 2.10.2, I'm getting a failure: % git clone https://github.com/IronLanguages/main.git

Re: [Ironruby-core] IronRuby v2Release xbuild is failing

2011-10-05 Thread Doug Blank
first find out if this is a known Mono bug, and then provide a patch to IronRuby to work-around this. Please let the list know if you want to take this on, ~js On Oct 5, 2011, at 11:10 AM, Doug Blank wrote: Reported as: http://ironruby.codeplex.com/workitem/6523 -Doug On Mon, Oct 3

Re: [Ironruby-core] IronRuby v2Release xbuild is failing

2011-10-05 Thread Doug Blank
: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Doug Blank Sent: Wednesday, October 05, 2011 10:48 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] IronRuby v2Release xbuild is failing On Wed, Oct 5, 2011 at 11:17 AM, Curt

Re: [Ironruby-core] IronRuby v2Release xbuild is failing

2011-11-13 Thread Doug Blank
On Wed, Oct 5, 2011 at 11:10 AM, Doug Blank doug.bl...@gmail.com wrote: Reported as: http://ironruby.codeplex.com/workitem/6523 Updated this workitem: This build issue with Ruby, under Mono, with /p:Configuration=v2Release can be fixed with: change: #if SILVERLIGHT return