ruby string to boolean

# Step 1: Define a string
string_value = "true"

# Step 2: Use the `to_s` method to convert the string to lowercase
lowercase_string = string_value.downcase

# Step 3: Use the `==` operator to compare the lowercase string with the string "true"
# Step 4: Assign the result to a variable, creating a boolean value
boolean_value = lowercase_string == "true"