Ivan Porto Carrero wrote: > I think this should answer your question > http://rubyforge.org/pipermail/ironruby-core/2008-January/000706.html --------------------------------- Ho Ivan,
Thanks for pointing me a link. But the link is obsolete now. ------------------------------------------------------------ Translating this example: http://msdn2.microsoft.com/en-us/library/bb397947.aspx, it will look something like this: require 'System.Core' numbers = [5, 10, 8, 3, 6, 12] numbers.where { |num| num % 2 == 0 }.order_by { |n| n }.each { |i| write("#{i} ") } - John -------------------------------------------------------------- I could see the example in Ruby, but the actual msdn2 link is now obsolete and the code is removed. So i am unable to make any comparison. -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
