1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
semantic/test/fixtures/ruby/corpus/multiple-assignments.A.rb

9 lines
136 B
Ruby
Raw Normal View History

2017-02-23 01:41:30 +03:00
x, y, z = [10, 20, 30]
2017-07-06 22:56:16 +03:00
x, y = [1, 2]
x, * = [1, 2]
x, *args = [1, 2]
x, y = *foo
self.foo, self.bar = target.a?, target.b
(x, y) = foo