mirror of
https://github.com/vidarh/ruby-x11
synced 2024-11-16 07:48:12 +01:00
pretty print display class
This commit is contained in:
parent
1bb7cc9f6b
commit
13f78a85a0
1 changed files with 4 additions and 0 deletions
|
@ -61,5 +61,9 @@ module X11
|
||||||
raise AuthorizationError, "Received unknown opcode #{type}"
|
raise AuthorizationError, "Received unknown opcode #{type}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def to_s
|
||||||
|
"#<X11::Display:0x#{object_id.to_s(16)} screens=#{@internal.screens.size}>"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue