From b2058621f22b33f929a267df36be7d992ef29133 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sun, 6 Jul 2014 16:47:53 -0700 Subject: Add accessor methods for host and port. --- libmpd.rb | 2 ++ 1 file changed, 2 insertions(+) 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. -- cgit v1.2.3-70-g09d2