summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-07-22 07:45:35 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-07-22 07:45:35 -0700
commit3b95b4df26fe21f203d2c1a6ae8dc3469fb08411 (patch)
tree46afa3aaac751e69c0e9d9e009cddd5bab28af25
parentb4b04398c1a244ad13fd89345bd32e2379158eef (diff)
downloadruby-libmpd-3b95b4df26fe21f203d2c1a6ae8dc3469fb08411.tar.gz
ruby-libmpd-3b95b4df26fe21f203d2c1a6ae8dc3469fb08411.tar.xz
Class MPD should follow the protocol strictly.
-rw-r--r--libmpd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpd.rb b/libmpd.rb
index 6b9ac69..202c1ab 100644
--- a/libmpd.rb
+++ b/libmpd.rb
@@ -49,7 +49,7 @@ class MPD
str.split("\n").each do |line|
field, value = line.split(': ')
- hash[field.downcase.to_sym] = value
+ hash[field] = value
end
return hash