summaryrefslogtreecommitdiff
path: root/spec/rubyspec/language/fixtures/array.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/language/fixtures/array.rb')
-rw-r--r--spec/rubyspec/language/fixtures/array.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/rubyspec/language/fixtures/array.rb b/spec/rubyspec/language/fixtures/array.rb
new file mode 100644
index 0000000000..4d8ce74ed6
--- /dev/null
+++ b/spec/rubyspec/language/fixtures/array.rb
@@ -0,0 +1,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