a_la_chart 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/a_la_chart/a_la_chart_helper.rb +1 -1
- data/lib/a_la_chart.rb +1 -1
- metadata +1 -1
@@ -65,7 +65,7 @@ module ALaChartHelper
|
|
65
65
|
|
66
66
|
def decode_options(options_str)
|
67
67
|
hash = Hash[ *(options_str.to_s.split(/[|~]/)) ]
|
68
|
-
hash.each{|k,v| hash[CGI::unescape(k).to_sym] = CGI::unescape(hash.delete(k)) }
|
68
|
+
hash.each{|k,v| hash[CGI::unescape(k.to_s).to_sym] = CGI::unescape(hash.delete(k.to_s)) }
|
69
69
|
hash
|
70
70
|
end
|
71
71
|
|
data/lib/a_la_chart.rb
CHANGED