summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmpd.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpd.rb b/libmpd.rb
index be46161..a0b94ed 100644
--- a/libmpd.rb
+++ b/libmpd.rb
@@ -43,6 +43,8 @@ class MPD
class Error < StandardError
end
+ attr_accessor :host, :port
+
# Initialise an MPD object with the specified host and port.
#
# The default host is "localhost" and the default port is 6600.