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