Sha256: ff9aaf12e5b369fda1ae50cfa51c8fdab55aed6597b396f3b5bea2ba9ae6128b
Contents?: true
Size: 660 Bytes
Versions: 10
Compression:
Stored size: 660 Bytes
Contents
# Statements and Comments. # # Statements are the elements that make up programs. # # Comments are used for making notes to help people better understand programs. # A comment begins with a "#" in Ruby. def setup # The size function is a statement that tells the computer # how large to make the window. # Each function statement has zero or more parameters. # Parameters are data passed into the function # and used as values for specifying what the computer will do. size 640, 360 # The background function is a statement that tells the computer # which color to make the background of the window background 102 end def draw end
Version data entries
10 entries across 10 versions & 1 rubygems