@@variable ruby code example Example 1: how to make a new variable ruby variable_name = 10 variable_name = "ten" Example 2: variables in ruby var_name = "value"