diff options
Diffstat (limited to 'sample/list.rb')
-rw-r--r-- | sample/list.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/list.rb b/sample/list.rb index 17eefae85a..221f7edb16 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) |