summaryrefslogtreecommitdiff
path: root/libmpd.rb
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-07-23 19:14:32 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-07-23 19:14:32 -0700
commitd3c4f79699a00d32393ae02116404113599f0c6b (patch)
tree7780e22cd89f6a9f97b8ffffc10b8726c3a16762 /libmpd.rb
parent933d1e6c13795830a096b7dcbe05ddebd818ed67 (diff)
downloadruby-libmpd-d3c4f79699a00d32393ae02116404113599f0c6b.tar.gz
ruby-libmpd-d3c4f79699a00d32393ae02116404113599f0c6b.tar.xz
Go back to using symbols rather than strings.
Diffstat (limited to 'libmpd.rb')
-rw-r--r--libmpd.rb2
1 files changed, 1 insertions, 1 deletions
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