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

Version Path
rhodes-7.6.0 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-7.5.1 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-7.4.1 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-7.1.17 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-6.2.0 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-6.0.11 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-5.5.18 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-5.5.17 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-5.5.15 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-5.5.0.22 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-5.5.2 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-5.5.0.7 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-5.5.0.3 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-5.5.0 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
tauplatform-1.0.3 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
tauplatform-1.0.2 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
tauplatform-1.0.1 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-3.5.1.12 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-3.3.5 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb
rhodes-3.4.2 spec/framework_spec/app/spec/language/fixtures/send_1.9.rb