From d3c4f79699a00d32393ae02116404113599f0c6b Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Thu, 23 Jul 2009 19:14:32 -0700 Subject: Go back to using symbols rather than strings. --- libmpd.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpd.rb') diff --git a/libmpd.rb b/libmpd.rb index 72e0f19..f71d156 100644 --- a/libmpd.rb +++ b/libmpd.rb @@ -58,7 +58,7 @@ class MPD str.split("\n").each do |line| field, value = line.split(': ') - hash[field] = value + hash[field.downcase.to_sym] = value end return hash -- cgit v1.2.3-70-g09d2