User Program Communication
Functions and Blocks
Object Oriented Programming
Constants in Ruby
Used to declare a variable whose value is not meant to be changed.
#constant name must start with a capital letter CONSTANT_NAME = value
There are no true constants in Ruby. Variables declared as constants can be modified after assignment, but a warning is given by the compiler.
PI = 3.14