Tutorial by Examples

Comments are programmer-readable annotations that are ignored at runtime. Their purpose is to make source code easier to understand. Single line comments The # character is used to add single line comments. #!/usr/bin/ruby -w # This is a single line comment. puts "Hello World!" Whe...

Page 1 of 1