I think there might be a bug in the way delete_at works.
a = [1,2]
RangeError: Specified argument was out of the range of valid values.
Parameter name: index
delete_at' from (irb):38 from :0:ineval’
evaluate' from context.rb:217:inevaluate’
eval_input' from irb.rb:257:insignal_status’
eval_input' from ruby-lex.rb:230:ineach_top_level_statement’
loop' from c:/IronRuby/lib/ruby/1.8/irb.rb:146:ineval_input’
start' from :0:incatch’
start' from c:/IronRuby/bin/iirb:13 from :0:incatch’
The a.delete_at(1) should return nil, but it is throwing an exception.
Is that correct?