Programming

Ruby Programming Language

Comments

1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/ruby -w
# This is a single line comment.
puts "Hello World!"

=begin
This is a multiline comment and con spwan as many lines as you
like. But =begin and =end should come in the first line only. 
=end

# Trailing comments
@counter      # keeps track times page has been hit
@siteCounter  # keeps track of times all pages have been hit