summaryrefslogtreecommitdiff
path: root/spec/ruby/language/fixtures/array.rb
blob: 4d8ce74ed682ed91c7a6ab3afcae8cbcc5dcfc2b (plain)
1
2
3
4
5
6
7
8
9
10
11
module ArraySpec
  class Splat
    def unpack_3args(a, b, c)
      [a, b, c]
    end

    def unpack_4args(a, b, c, d)
      [a, b, c, d]
    end
  end
end