summaryrefslogtreecommitdiff
path: root/mpdlib.rb
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-07-21 15:39:38 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-07-21 15:39:38 -0700
commit17daf095bb67798cfd45494a427973b2bcc9bc35 (patch)
treecf891fc59ac4664edb86800d83a5704501feabff /mpdlib.rb
parented7a1a8b9c9d2104dbcfea8d90f66e1af651785f (diff)
downloadruby-libmpd-17daf095bb67798cfd45494a427973b2bcc9bc35.tar.gz
ruby-libmpd-17daf095bb67798cfd45494a427973b2bcc9bc35.tar.xz
Fix previous commit: forgot to return the hash.
Diffstat (limited to 'mpdlib.rb')
-rw-r--r--mpdlib.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpdlib.rb b/mpdlib.rb
index 8cd14a6..bd25637 100644
--- a/mpdlib.rb
+++ b/mpdlib.rb
@@ -45,5 +45,7 @@ class MPD
field, value = line.split(': ')
hash[field] = value
end
+
+ return hash
end
end