RubyConf made a few things related to the 1.0-rc1 release fall through the cracks, including an announcement out to the mailing list ... my bad! Better late than never ... The IronRuby team is pleased to announce version 1.0 RC1! http://ironruby.net/download Direct download link: http://ironruby.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=35312#DownloadId=93832 This release was announced at RubyConf 2009. Read more about this IronRuby release here: http://blog.jimmy.schementi.com/2009/12/ironruby-rubyconf-2009-part-4-project.html As IronRuby approaches the final 1.0, these RCs will contain crucial bug fixes and enhancements that IronRuby requires to be a fast and compatible 1.0. This release contains 6 bug-fixes. See the release notes and changelog for more detailed information: http://rubyforge.org/frs/shownotes.php?release_id=41946 Though IronRuby is in the release-candidate stage, your feedback is even just as important. Please use these new binaries as much as you can and report any issues you find here: http://ironruby.codeplex.com/WorkItem/Create.aspx.
Hello, I think I have found a problem with the Array delete_if method. If I do the following when a do the arr2 = Array.new arr I get a nil value>>> arr = ["asd", "qwe", "zxc"]=> ["asd", "qwe", "zxc"]>>> arr.delete_if{|x| x == "qwe"}=> ["asd", "zxc"]>>> arr2 = Array.new arr=> [nil, "asd"] This is happening in 0.9.2 and in 1.0 RC1 Using Ruby I don''t get that. What I expected. irb(main):008:0> arr = ["asd", "qwe", "zxc"] => ["asd", "qwe", "zxc"] irb(main):009:0> arr.delete_if{|x| x =="qwe"} => ["asd", "zxc"] irb(main):010:0> arr2 = Array.new arr => ["asd", "zxc"] Pascal
Opened http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3314. That''s wacky! Doesn''t happen if you remove the last or first item ... it''s gonna be fun to track that down. =)> -----Original Message----- > From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core- > bounces at rubyforge.org] On Behalf Of Pascal Normandin > Sent: Tuesday, December 15, 2009 8:18 PM > To: ironruby-core at rubyforge.org > Subject: [Ironruby-core] Problem with Arrays > > Hello, > > I think I have found a problem with the Array delete_if method. > > If I do the following when a do the arr2 = Array.new arr I get a nil value > > >>> arr = ["asd", "qwe", "zxc"] > => ["asd", "qwe", "zxc"] > >>> arr.delete_if{|x| x == "qwe"} > => ["asd", "zxc"] > >>> arr2 = Array.new arr > => [nil, "asd"] > > This is happening in 0.9.2 and in 1.0 RC1 > > > Using Ruby I don''t get that. What I expected. > irb(main):008:0> arr = ["asd", "qwe", "zxc"] => ["asd", "qwe", "zxc"] > irb(main):009:0> arr.delete_if{|x| x =="qwe"} => ["asd", "zxc"] > irb(main):010:0> arr2 = Array.new arr => ["asd", "zxc"] > > Pascal > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core