Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple set of examples you can run to figure out how * works in Ruby
Ruby
branch: master

Merge pull request #1 from lsd/master

Added Ruby 1.9 compability (require fixed)
latest commit 0bcbe8842b
@mischa authored
Failed to load latest commit information.
.gitignore splat
README readme
diff.rb add diffs
example.rb improvements
ruby_186.txt add diffs
ruby_191.txt add diffs
splat.rb Added Ruby 1.9 compability (require fixed)

README

Hi,


In ruby [*[1,2,3]] == [1,2,3]. 

It doesn't stop there. The splat does all kinds of stuff.



To play with it, clone this, and then run splat.rb.


If you want, you can try to guess what ruby will give.

Run it in both 1.8 and 1.9 to see the differences.


Best,

Mischa 
Something went wrong with that request. Please try again.