Constants Flashcards
1
Q
What is a constant in Ruby?
A
A constant is a like a variable, except that it’s value is meant to be constant for the duration of the program. So the value should always be the same and not change.
Ruby > Constants > Flashcards
What is a constant in Ruby?
A constant is a like a variable, except that it’s value is meant to be constant for the duration of the program. So the value should always be the same and not change.