diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2009-07-21 22:02:13 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2009-07-21 22:02:13 -0700 |
commit | 121cf518876f69e86c277b4c9bf29ea34c34adfb (patch) | |
tree | 307a544a76dee58f4dfa68fe1f36cf02e6873636 /mpdlib.rb | |
parent | d4f3afb5b966430ccff4030833435cd3ad499df5 (diff) | |
download | ruby-libmpd-121cf518876f69e86c277b4c9bf29ea34c34adfb.tar.gz ruby-libmpd-121cf518876f69e86c277b4c9bf29ea34c34adfb.tar.xz |
Use symbols rather than strings for hash keys.
Diffstat (limited to 'mpdlib.rb')
-rw-r--r-- | mpdlib.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,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 |