Create client.rb
diff --git a/examples/client.rb b/examples/client.rb
new file mode 100644
index 0000000..7c21868
--- /dev/null
+++ b/examples/client.rb
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+require 'bundler'
+Bundler.setup :default
+
+require 'logger'
+require 'mpd_client'
+
+MPD::Client.log = Logger.new($stderr)
+
+client = MPD::Client.new
+client.connect('localhost', 6600)
+
+puts client.currentsong