Toggle hash syntax in Ruby without selecting a region