summaryrefslogtreecommitdiff
path: root/sample/list.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/list.rb')
-rw-r--r--sample/list.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/list.rb b/sample/list.rb
index 17eefae..221f7ed 100644
--- a/sample/list.rb
+++ b/sample/list.rb
@@ -64,7 +64,7 @@ class Point
end
end
-# global variables are start with `$'.
+# global variable name starts with `$'.
$list1 = MyList.new
$list1.add_to_list(10)
$list1.add_to_list(20)