summaryrefslogtreecommitdiff
path: root/sample/list2.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/list2.rb')
-rw-r--r--sample/list2.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/list2.rb b/sample/list2.rb
index 914cb8996e..1d71affc1b 100644
--- a/sample/list2.rb
+++ b/sample/list2.rb
@@ -9,7 +9,7 @@ class Point
sprintf("%d@%d", @x, @y)
end
end
-
+
list1 = [10, 20, Point.new(2, 3), Point.new(4, 5)]
list2 = [20, Point.new(4, 5), list1]
print("list1:\n", list1.join("\n"), "\n")