Check out example codes for "how to make a new variable ruby". It will help you in understanding the concepts better.

Code Example 1

variable_name = 10
variable_name = "ten"

Learn ReactJs, React Native from akashmittal.com