HF RL Explorer

Task: Convert Ruby Hash Keys from Symbols to Strings

Task: Convert Ruby Hash Keys from Symbols to Strings: a task in Terminal-Lego-15k (Harbor dataset). Write a Ruby script that converts all keys in a hash from Symbol s to String s. For example, {:one = "Value 1", :two = "Value 2"} should become {"one" = "Value 1", "two" = "Value 2"} .

The task

Write a Ruby script that converts all keys in a hash from `Symbol`s to `String`s. For example, `{:one => "Value 1", :two => "Value 2"}` should become `{"one" => "Value 1", "two" => "Value 2"}`.

Part of PrimeIntellect/Terminal-Lego-15k.