how to add two variables into a hash ruby

# Step 1: Create a hash
my_hash = {}

# Step 2: Declare two variables
variable1 = "value1"
variable2 = "value2"

# Step 3: Add variables to the hash
my_hash[:key1] = variable1
my_hash[:key2] = variable2