From: SASADA Koichi Date: 2012-11-29T04:49:51+09:00 Subject: [ruby-core:50266] Re: [ruby-trunk - Feature #7434] Allow caller_locations and backtrace_locations to receive negative params (2012/11/28 6:08), sam.saffron (Sam Saffron) wrote: > Though there is an issue with accepting ranges: caller(1..-6, 8) becomes a bit weird cause you are defining the length in two spots. It should be error. See: [][0..1, 2] #=> t.rb:1:in `[]': can't convert Range into Integer (TypeError) from t.rb:1:in `
' -- // SASADA Koichi at atdot dot net