Sha256: a9d5cafbfb9cf0705a105489eeb3dc7410f24d243983214689ba61eca15d31f7
Contents?: true
Size: 629 Bytes
Versions: 52
Compression:
Stored size: 629 Bytes
Contents
module LangSendSpecs module_function def fooM0RQ1(*r, q); [r, q]; end def fooM1RQ1(a, *r, q); [a, r, q]; end def fooM1O1RQ1(a, b=9, *r, q); [a, b, r, q]; end def fooM1O1RQ2(a, b=9, *r, q, t); [a, b, r, q, t]; end def fooO1Q1(a=1, b); [a,b]; end def fooM1O1Q1(a,b=2,c); [a,b,c]; end def fooM2O1Q1(a,b,c=3,d); [a,b,c,d]; end def fooM2O2Q1(a,b,c=3,d=4,e); [a,b,c,d,e]; end def fooO4Q1(a=1,b=2,c=3,d=4,e); [a,b,c,d,e]; end def fooO4Q2(a=1,b=2,c=3,d=4,e,f); [a,b,c,d,e,f]; end def destructure2((a,b)); a+b; end def destructure2b((a,b)); [a,b]; end def destructure4r((a,b,*c,d,e)); [a,b,c,d,e]; end end
Version data entries
52 entries across 52 versions & 2 rubygems