summaryrefslogtreecommitdiff
path: root/sample/list3.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/list3.rb')
-rw-r--r--sample/list3.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/list3.rb b/sample/list3.rb
index 1d756fdff0..1d9f04b710 100644
--- a/sample/list3.rb
+++ b/sample/list3.rb
@@ -11,7 +11,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: ", list1.inspect, "\n")