View Problem

Define an empty list

Assign the variable "list" to a list with no elements
DiskEdit
ruby
list = []
DiskEdit
ruby
list = Array.new

Submit a new solution for ruby
There are 24 other solutions in additional languages (clojure, cpp, csharp, erlang ...)