lib/hieracles/config.rb in hieracles-0.3.4 vs lib/hieracles/config.rb in hieracles-0.3.5
- old
+ new
@@ -60,10 +60,10 @@
end
# str is like: something=xxx;another=yyy
def extract_params(str)
return {} unless str
- str.split(';').reduce({}) do |a, k|
+ str.split(',').reduce({}) do |a, k|
a["#{k[/^[^=]*/]}".to_sym] = k[/[^=]*$/]
a
end
end