From 13f78a85a07b2436bcfb4eebfb6caba5efdd0aec Mon Sep 17 00:00:00 2001 From: Richard Ramsden Date: Sat, 19 May 2012 12:03:23 -0700 Subject: [PATCH] pretty print display class --- lib/X11/display.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/X11/display.rb b/lib/X11/display.rb index eb539ba..8e7af53 100644 --- a/lib/X11/display.rb +++ b/lib/X11/display.rb @@ -61,5 +61,9 @@ module X11 raise AuthorizationError, "Received unknown opcode #{type}" end end + + def to_s + "#" + end end end