Sha256: 8e4267232ed4347bb057e834458f87a6aced3750fb9e9ef407d58a28464714de
Contents?: true
Size: 236 Bytes
Versions: 4
Compression:
Stored size: 236 Bytes
Contents
class TestSplat def m(*args) p args end def self.main obj = new() obj.m obj.m(*[]) obj.m(1) obj.m(*[1]) obj.m(1,*[]) obj.m(1,2) obj.m(*[1,2]) obj.m(1,*[2]) obj.m(1,*[1,2]) end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
superchris-rubyjs-0.8.2 | test/test_splat.rb |
rubyjs-0.7.1 | test/test_splat.rb |
rubyjs-0.7.0 | test/test_splat.rb |
rubyjs-0.8.0 | test/test_splat.rb |