.list -> .toList

Fix #248.
This commit is contained in:
Bob Nystrom
2015-04-03 11:22:34 -07:00
parent 563a090865
commit 75a3051fae
7 changed files with 9 additions and 9 deletions

View File

@ -1,3 +1,3 @@
var a = 1..3
var b = a.map {|x| x + 1 }.list
var b = a.map {|x| x + 1 }.toList
IO.print(b) // expect: [2, 3, 4]