Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: 1.5.0.RC3
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.205 kB
require 'test/minirunit'
test_check "Test Splat:"
class SplatSubscriptAssignment
def []=(a,b)
test_equal(1, a)
test_equal(2, b)
end
end
g = [1]
SplatSubscriptAssignment.new[*g] = 2
Jump to Line
Something went wrong with that request. Please try again.